blob: 39f4d4e2f173374b4e602c3166a004e0b49f3560 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#!/bin/sh
readonly ROOT=$(readlink -f $(dirname $0)/..)
: ${RULES_CC_REPO:=https://github.com/just-buildsystem/rules-cc}
: ${RULES_CC_BRANCH:=master}
: ${RULES_RUST_REPO:=https://github.com/just-buildsystem/rules-rust}
: ${RULES_RUST_BRANCH:=master}
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-deduplicate-repos \
| hdump > ${ROOT}/etc/repos.json
|