Skip to content

Commit f1f256d

Browse files
authored
Merge pull request #38 from clash-lang/orangecrab
Adds Orangecrab starter project
2 parents 05f789a + c16f251 commit f1f256d

File tree

18 files changed

+1861
-10
lines changed

18 files changed

+1861
-10
lines changed

.ci/test_projects_cabal.sh

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,17 @@ for project in *.hsfiles; do
1515
cabal build
1616
cabal run test-library
1717
cabal run doctests
18-
if [[ ${project} != "deca.hsfiles" ]]; then
19-
cabal run clash -- Example.Project --vhdl
20-
else
21-
cabal run clash -- DECA --vhdl
22-
fi
18+
case "${project}" in
19+
deca.hsfiles)
20+
cabal run clash -- DECA --vhdl
21+
;;
22+
orangecrab.hsfiles)
23+
cabal run clash -- Blink --vhdl
24+
;;
25+
*)
26+
cabal run clash -- Example.Project --vhdl
27+
;;
28+
esac
2329

2430
# Clean up
2531
cd ..

.ci/test_projects_stack.sh

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,17 @@ for project in *.hsfiles; do
1313
# Build and test with Stack
1414
stack build
1515
stack test
16-
if [[ ${project} != "deca.hsfiles" ]]; then
17-
stack run clash -- Example.Project --vhdl
18-
else
19-
stack run clash -- DECA --vhdl
20-
fi
16+
case "${project}" in
17+
deca.hsfiles)
18+
stack run clash -- DECA --vhdl
19+
;;
20+
orangecrab.hsfiles)
21+
stack run clash -- Blink --vhdl
22+
;;
23+
*)
24+
stack run clash -- Example.Project --vhdl
25+
;;
26+
esac
2127

2228
# Clean up
2329
cd ..

0 commit comments

Comments
 (0)