genode-ehmry/nim/binaries.tup

10 lines
326 B
Plaintext

# 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 |>