Update Nimble rules for Nim devel branch

This commit is contained in:
Ehmry - 2019-02-27 16:50:01 +01:00
parent 66b082f5fa
commit d55620ba10
2 changed files with 9 additions and 9 deletions

View File

@ -1,8 +1,2 @@
# Drop the relase flag with the line "NIM_RELEASE_FLAG="
NIM_RELEASE_FLAG = -d:release
!nim_to_depot = |> nim cpp $(NIM_RELEASE_FLAG) --os:genode -d:posix -o:%o %f \
|> $(DEPOT_DIR)/bin/x86_64/%d/@(DEPOT_VERSION)/%B
NIMBLE_BINARIES_INCLUDE = $(TUP_CWD)/binaries.tup
NIMBLE_PACKAGE_INCLUDE = $(TUP_CWD)/package.tup

View File

@ -1,8 +1,14 @@
include_rules
# Drop the relase flag with the line "NIM_RELEASE_FLAG="
NIM_RELEASE_FLAG = -d:release
: foreach src/*.nim |> !nim_to_depot |> {binary}
!nim_build = |> nimble cpp $(NIM_RELEASE_FLAG) --os:genode -d:posix -o:%B %f |> %B %B.json
!nim_to_depot = |> cp %f %o |> $(DEPOT_DIR)/bin/x86_64/%d/@(DEPOT_VERSION)/%b
: foreach src/*.nim |> !nim_build |> {output}
: foreach {output} |> !nim_to_depot |> {binary}
ifdef DEPOT_KEY
: {binary} |> !depot_bin_tarball |> {tarballs}
: {binary} |> !depot_bin_tarball |> {tarballs}
: foreach {tarballs} |> !public_signature |>
endif