genode-ehmry/nim/binaries.tup

10 lines
326 B
Plaintext
Raw Normal View History

2019-03-07 17:52:06 +01:00
# Drop the relase flag with the line "NIM_RELEASE_FLAG="
NIM_RELEASE_FLAG = -d:release
!nim_build = |> ^o Nimble %B^ nimble cpp $(NIM_RELEASE_FLAG) --os:genode -d:posix -o:%B %f |> %B ./<binaries>
: foreach src/*.nim |> !nim_build |> {output}
: foreach {output} |> !strip_to_depot |> {binary}
: {binary} |> !publish_bin |>