This commit is contained in:
parent
aa2ff7b2f0
commit
2f3113f55d
11742 changed files with 1223940 additions and 0 deletions
|
|
@ -0,0 +1,53 @@
|
|||
(rule
|
||||
(copy copy-sources/pped.pp.re pped.re))
|
||||
|
||||
(rule
|
||||
(copy copy-sources/pped.rei.pp pped.rei))
|
||||
|
||||
(library
|
||||
(name rlib)
|
||||
(public_name rlib)
|
||||
(modules bar cppome foo hello pped)
|
||||
(lint
|
||||
(per_module
|
||||
((pps reasonppx -- -lint true)
|
||||
hello
|
||||
cppome)
|
||||
((action
|
||||
(run ./pp/reasononlypp.exe -lint %{input-file}))
|
||||
foo
|
||||
bar
|
||||
pped)))
|
||||
(preprocess
|
||||
(per_module
|
||||
((pps reasonppx)
|
||||
foo)
|
||||
((pps reasonppx -- -lint false)
|
||||
hello)
|
||||
((action
|
||||
(run ./pp/reasononlypp.exe %{input-file}))
|
||||
cppome))))
|
||||
|
||||
(executable
|
||||
(name rbin)
|
||||
(modules rbin)
|
||||
(lint
|
||||
(action
|
||||
(run ./pp/reasononlypp.exe -lint %{input-file})))
|
||||
(preprocess
|
||||
(action
|
||||
(run ./pp/reasononlypp.exe %{input-file})))
|
||||
(libraries rlib))
|
||||
|
||||
(alias
|
||||
(name install-file)
|
||||
(deps rlib.install)
|
||||
(action
|
||||
(echo "%{read:rlib.install}")))
|
||||
|
||||
(alias
|
||||
(name runtest)
|
||||
(deps
|
||||
(:< rbin.exe))
|
||||
(action
|
||||
(run %{<})))
|
||||
Loading…
Add table
Add a link
Reference in a new issue