Add dhall bang-rule

This commit is contained in:
Emery Hemingway 2022-11-26 14:48:48 -06:00
parent 2e92b18d41
commit 7a791550b8
2 changed files with 4 additions and 0 deletions

View File

@ -1,2 +1,4 @@
include_rules
: syndicate/preserves-nim/src/preserves/preserves_schema_nim.nim |> !nim |> $(preserves_schema_nim)
: |> nix build ops#dhall --out-link %o |> $(DHALL_LINK)

View File

@ -6,6 +6,8 @@ export PKG_CONFIG_PATH_FOR_TARGET
export XDG_CACHE_HOME
NIX_SHELL = nix-shell --run
DHALL_LINK = $(TUP_CWD)/dhall
!dhall = | $(DHALL_LINK) |> $(DHALL_LINK)/bin/dhall |>
preserves_schema_nim = $(TUP_CWD)/preserves_schema_nim