-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Remove some improperly applied dependencies * More README details * Use the 4.06 AST from OMP and ppx_tools_versioned * Add repl, examples and test targets for make * Simplify how jbuilder builds examples
- Loading branch information
Showing
7 changed files
with
49 additions
and
13 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
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,16 @@ | ||
.PHONY: all clean examples repl test | ||
|
||
all: | ||
jbuilder build | ||
jbuilder build --dev | ||
|
||
clean: | ||
rm -rf _build/ *.install | ||
jbuilder clean | ||
|
||
examples: | ||
jbuilder build @example --dev | ||
|
||
repl: | ||
jbuilder utop src -- -require ppx_defer | ||
|
||
test: examples | ||
jbuilder exec examples/ic.exe |
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
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 |
---|---|---|
|
@@ -3,3 +3,7 @@ | |
(executable | ||
((name ic) | ||
(preprocess (pps (ppx_defer))))) | ||
|
||
(alias | ||
((name example) | ||
(deps (ic.exe)))) |
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
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