diff options
author | Martin Fischer <martin@push-f.com> | 2025-03-16 07:14:01 +0100 |
---|---|---|
committer | Martin Fischer <martin@push-f.com> | 2025-04-03 08:01:22 +0200 |
commit | b4e3560d81556df4a589fb274bd161a6e5790d16 (patch) | |
tree | 40c94832d1425c3ff76fd4318747fe8d15eb4850 | |
parent | 9ee3480a4bfed29259f4da8eb4c1de81a55d3ec3 (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.
-rw-r--r-- | .gitignore | 1 | ||||
-rwxr-xr-x | clone.sh | 1 | ||||
-rwxr-xr-x | fetch_and_build.sh | 2 | ||||
-rwxr-xr-x | find.sh | 2 |
4 files changed, 4 insertions, 2 deletions
@@ -1,3 +1,4 @@ caniuse.rs/ +rust/ target/ lib_feats.txt @@ -1 +1,2 @@ git clone https://github.com/jplatte/caniuse.rs +git clone --depth 1 https://github.com/rust-lang/rust 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 @@ -1,2 +1,2 @@ -cd ~/repos-contrib/rust +cd rust git grep -hEo '(un)?stable\(feature =.+\)' library/ | grep -v 'issue = "none"' | sort | uniq |