summaryrefslogtreecommitdiff
path: root/fetch_and_build.sh
diff options
context:
space:
mode:
authorMartin Fischer <martin@push-f.com>2025-03-16 07:14:01 +0100
committerMartin Fischer <martin@push-f.com>2025-04-03 08:01:22 +0200
commitb4e3560d81556df4a589fb274bd161a6e5790d16 (patch)
tree40c94832d1425c3ff76fd4318747fe8d15eb4850 /fetch_and_build.sh
parent9ee3480a4bfed29259f4da8eb4c1de81a55d3ec3 (diff)
fix: don't assume ~/repos-contrib/rust exists
When I wrote this 4 years ago I didn't want another clone of the rust repo because it's so big but we can just use a shallow.
Diffstat (limited to 'fetch_and_build.sh')
-rwxr-xr-xfetch_and_build.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/fetch_and_build.sh b/fetch_and_build.sh
index 5c9eaa0..760b03d 100755
--- a/fetch_and_build.sh
+++ b/fetch_and_build.sh
@@ -1,5 +1,5 @@
(cd caniuse.rs; git checkout main; git pull --ff-only)
-(cd ~/repos-contrib/rust; git checkout master; git pull --ff-only)
+(cd rust; git checkout master; git pull --ff-only)
./find.sh | grep -oP '(?<=feature = ")([^"]+)' > lib_feats.txt
rm -r build/
./build.py