Vendor things
This commit is contained in:
parent
5deceec006
commit
977e3c17e5
19434 changed files with 10682014 additions and 0 deletions
7
third-party/vendor/swc_atoms/scripts/_/sort.py
vendored
Executable file
7
third-party/vendor/swc_atoms/scripts/_/sort.py
vendored
Executable file
|
|
@ -0,0 +1,7 @@
|
|||
#!/usr/bin/env python3
|
||||
|
||||
import sys
|
||||
lines = sys.stdin.readlines()
|
||||
lines.sort()
|
||||
for line in lines:
|
||||
print(line,end='')
|
||||
6
third-party/vendor/swc_atoms/scripts/add-from-cargo-check.sh
vendored
Executable file
6
third-party/vendor/swc_atoms/scripts/add-from-cargo-check.sh
vendored
Executable file
|
|
@ -0,0 +1,6 @@
|
|||
#!/usr/bin/env bash
|
||||
set -eu
|
||||
|
||||
export CARGO_TERM_COLOR=never
|
||||
|
||||
cargo check 2>&1 | grep 'no rules expected the token' | sed -e 's/error: no rules expected the token `"//' | sed -e 's/"`//'
|
||||
5
third-party/vendor/swc_atoms/scripts/sort.sh
vendored
Executable file
5
third-party/vendor/swc_atoms/scripts/sort.sh
vendored
Executable file
|
|
@ -0,0 +1,5 @@
|
|||
#!/usr/bin/env bash
|
||||
set -eu
|
||||
|
||||
cat words.txt | sed '/^[[:space:]]*$/d' | awk '{$1=$1};1' | uniq | ./scripts/_/sort.py > words_sorted.txt
|
||||
mv words_sorted.txt words.txt
|
||||
Loading…
Add table
Add a link
Reference in a new issue