-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
4 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
.PHONY: build | ||
build: | ||
@rm -f ./main | ||
dune build | ||
opam exec -- dune build | ||
@cp _build/install/default/bin/cs3110_compiler ./main | ||
@chmod u+x ./main | ||
|
||
.PHONY: test | ||
test: build | ||
dune test | ||
opam exec -- dune test | ||
|
||
.PHONY: clean | ||
clean: | ||
dune clean | ||
opam exec -- dune clean | ||
@rm -rf ./main |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
(test | ||
(name test_cs3110_compiler) | ||
(libraries cs3110_compiler ounit2 alcotest) | ||
(libraries cs3110_compiler alcotest) | ||
(deps | ||
(source_tree snapshots))) |