Nimble support
This commit is contained in:
parent
6fafc577dc
commit
90d2480cfe
|
@ -0,0 +1,5 @@
|
|||
!nim_to_depot = |> nim cpp --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
|
|
@ -0,0 +1,8 @@
|
|||
include_rules
|
||||
|
||||
: foreach src/*.nim |> !nim_to_depot |> {binary}
|
||||
|
||||
ifdef DEPOT_KEY
|
||||
: {binary} |> !depot_bin_tarball |> {tarballs}
|
||||
: foreach {tarballs} |> !depot_sign_tarball |>
|
||||
endif
|
|
@ -0,0 +1,9 @@
|
|||
include_rules
|
||||
|
||||
: archives |> tup varsed %f %o |> $(DEPOT_DIR)/pkg/%d/@(DEPOT_VERSION)/%b {package}
|
||||
: runtime |> tup varsed %f - | xmllint - > %o |> $(DEPOT_DIR)/pkg/%d/@(DEPOT_VERSION)/%b {package}
|
||||
|
||||
ifdef DEPOT_KEY
|
||||
: {package} |> !depot_pkg_tarball |> {tarball}
|
||||
: {tarball} |> !public_signature |>
|
||||
endif
|
Loading…
Reference in New Issue