feat(users/Profpatsch): init whatcd-resolver
Change-Id: Ieb377fb8caa60e716703153dfeca5173f9a6779d Reviewed-on: https://cl.tvl.fyi/c/depot/+/8830 Reviewed-by: Profpatsch <mail@profpatsch.de> Tested-by: BuildkiteCI
This commit is contained in:
parent
5daa31db3b
commit
07b976ccd8
15 changed files with 1086 additions and 0 deletions
29
users/Profpatsch/whatcd-resolver/build.ninja
Normal file
29
users/Profpatsch/whatcd-resolver/build.ninja
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
builddir = .ninja
|
||||
|
||||
rule cabal-run
|
||||
command = cabal run $target
|
||||
|
||||
rule cabal-repl
|
||||
command = cabal repl $target
|
||||
|
||||
rule cabal-test
|
||||
command = cabal test $target
|
||||
|
||||
rule hpack-file
|
||||
description = hpack $in
|
||||
command = $
|
||||
hpack --force $in $
|
||||
&& touch $out
|
||||
|
||||
build repl : cabal-repl | cabal-preconditions
|
||||
target = whatcd-resolver-server
|
||||
pool = console
|
||||
|
||||
build run : cabal-run | cabal-preconditions
|
||||
target = whatcd-resolver-server
|
||||
pool = console
|
||||
|
||||
|
||||
build cabal-preconditions : phony whatcd-resolver-server.cabal
|
||||
|
||||
build whatcd-resolver-server.cabal : hpack-file package.yaml
|
||||
Loading…
Add table
Add a link
Reference in a new issue