diff options
author | Martin Fischer <martin@push-f.com> | 2021-12-10 10:15:48 +0100 |
---|---|---|
committer | Martin Fischer <martin@push-f.com> | 2021-12-10 10:15:48 +0100 |
commit | 8be7aa457cc8907acccb75bf5efcdc26c5b952ee (patch) | |
tree | 313e1654739ae935d3a4fba928e7417b827cba8d | |
parent | 3fb839710a459c2c177adf993df9e02d031c5a5a (diff) |
aggregate lib_feats.txt
-rw-r--r-- | .gitignore | 1 | ||||
-rwxr-xr-x | deploy.sh | 4 | ||||
-rwxr-xr-x | fetch_and_build.sh | 5 | ||||
-rwxr-xr-x | find.sh | 2 |
4 files changed, 9 insertions, 3 deletions
@@ -1,2 +1,3 @@ caniuse.rs/ target/ +lib_feats.txt @@ -1,4 +1,2 @@ -(cd caniuse.rs; git checkout main; git pull) -rm -r build/ -./build.py +./fetch_and_build.sh tar cf - -C target . | ssh push-f.com 'sh -c "set -x; cd /var/www/rust-features.push-f.com && pwd && tar xvf - && echo done"' diff --git a/fetch_and_build.sh b/fetch_and_build.sh new file mode 100755 index 0000000..5c9eaa0 --- /dev/null +++ b/fetch_and_build.sh @@ -0,0 +1,5 @@ +(cd caniuse.rs; git checkout main; git pull --ff-only) +(cd ~/repos-contrib/rust; git checkout master; git pull --ff-only) +./find.sh | grep -oP '(?<=feature = ")([^"]+)' > lib_feats.txt +rm -r build/ +./build.py @@ -0,0 +1,2 @@ +cd ~/repos-contrib/rust +git grep -hEo '(un)?stable\(feature =.+\)' library/ | grep -v 'issue = "none"' | sort | uniq |