summaryrefslogtreecommitdiff
path: root/etc/generate-repos.sh
diff options
context:
space:
mode:
Diffstat (limited to 'etc/generate-repos.sh')
-rwxr-xr-xetc/generate-repos.sh7
1 files changed, 3 insertions, 4 deletions
diff --git a/etc/generate-repos.sh b/etc/generate-repos.sh
index d8cd187..4235fd0 100755
--- a/etc/generate-repos.sh
+++ b/etc/generate-repos.sh
@@ -9,14 +9,13 @@ readonly ROOT=$(readlink -f $(dirname $0)/..)
: ${RULES_RUST_BRANCH:=master}
# remove files generated by just-import-cargo
-rm -rf etc/deps-rust etc/defaults/rust/TARGETS # common to all cargo imports
-rm -f src/rust/cargo/circle/Cargo.lock src/rust/cargo/circle/TARGETS
+rm -rf etc/deps-rust etc/defaults/rust/TARGETS.cargo_import # common to all cargo imports
+rm -f src/rust/cargo/circle/Cargo.lock src/rust/cargo/circle/TARGETS # crate
just-import-git -C ${ROOT}/etc/repos.template.json \
--as rules -b ${RULES_CC_BRANCH} ${RULES_CC_REPO} rules \
| just-import-git -C - \
--as rules-rust -b ${RULES_RUST_BRANCH} ${RULES_RUST_REPO} rules-rust \
- | just-import-cargo --rules rules-rust/nix --repo-root ${ROOT} -rst \
- src/rust/cargo/circle \
+ | just-import-cargo --repo-root ${ROOT} -rst src/rust/cargo/circle \
| just-deduplicate-repos \
| hdump > ${ROOT}/etc/repos.json