summaryrefslogtreecommitdiff
path: root/test/rust/cargo/circle/TARGETS
diff options
context:
space:
mode:
authorKlaus Aehlig <klaus.aehlig@huawei.com>2024-06-26 15:46:09 +0200
committerKlaus T. Aehlig <aehlig@linta.de>2024-06-27 12:05:35 +0200
commitc6b35f8f2e83621b4e53ab999e5b5bf146a73aa0 (patch)
tree2c607815866fdb7887dc5486255d2a7729f23578 /test/rust/cargo/circle/TARGETS
parentd5e14989a76f346789622fce27e3c63c217792cb (diff)
downloadhello-nix-c6b35f8f2e83621b4e53ab999e5b5bf146a73aa0.tar.gz
Add minimal example using cargo
... including a test (for which we add python3 as test dependency).
Diffstat (limited to 'test/rust/cargo/circle/TARGETS')
-rw-r--r--test/rust/cargo/circle/TARGETS13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/rust/cargo/circle/TARGETS b/test/rust/cargo/circle/TARGETS
new file mode 100644
index 0000000..565bb37
--- /dev/null
+++ b/test/rust/cargo/circle/TARGETS
@@ -0,0 +1,13 @@
+{ "": {"type": "install", "tainted": ["test"], "deps": ["test-sampling"]}
+, "test-sampling":
+ { "type": ["@", "rules", "shell/test", "script"]
+ , "name": ["sampling"]
+ , "test": ["test_circle_sampling.sh"]
+ , "deps": ["sample", "verify.py"]
+ , "keep": ["sampled"]
+ }
+, "sample":
+ { "type": "install"
+ , "files": {"bin/sample": ["@", "cargo/circle", "", "circle_sampling"]}
+ }
+}