preserves-nim/Tupfile

13 lines
471 B
Text

include_rules
: sbom.json |> !sbom-to-nix |> | ./<lock>
: src/preserves.nim |> !nim-doc |>
run ./Tuprules.jq sbom.json
GROUP = $(BIN_DIR)/<preserves_encode>
!link = |> ^o symlink %o^ ln -s preserves_encode %o |> | $(GROUP)
: {bin} |> !link |> $(BIN_DIR)/preserves-decode
: {bin} |> !link |> $(BIN_DIR)/preserves-from-json
: {bin} |> !link |> $(BIN_DIR)/preserves-from-xml
: {bin} |> !link |> $(BIN_DIR)/preserves-to-json
: {bin} |> !link |> $(BIN_DIR)/preserves-to-xml