Tup: Remove rules for generating Dhall manifest

This commit is contained in:
Ehmry - 2019-09-22 13:03:29 +02:00
parent d0865d365c
commit 228bb4f189
2 changed files with 0 additions and 20 deletions

1
.gitignore vendored
View File

@ -13,6 +13,5 @@
##### Do not edit.
.tup
/.gitignore
/bin.dhall
/dev
/out

19
Tupfile
View File

@ -1,19 +0,0 @@
ifeq (@(TUP_ARCH),x86_64)
DEPOT_ARCH = x86_64
endif
ifeq ($(DEPOT_ARCH),)
error unhandled TUP_ARCH @(TUP_ARCH)
endif
include_rules
DEPOT_MANIFEST = $(OUTPUTS_OUT)/manifest.dhall
: $(OUTPUTS_OUT)/<bin> |> \
echo %<bin> \
| awk -F '/' --assign RS=' ' 'BEGIN { print "{=}"} {print "∧{"$3"={=}}" }' \
| dhall > %o\
|> bin.dhall {records}
: | {records} |> !dhall <<< '{bin = { $(DEPOT_ARCH) = ./bin.dhall } }' > %o |> $(DEPOT_MANIFEST)