Update Nimble rules for Nim devel branch
This commit is contained in:
parent
66b082f5fa
commit
d55620ba10
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue