1
0
Fork 0
mirror of https://github.com/NeoCloud/NeoNetwork synced 2024-11-22 18:00:41 +08:00

update scripts

This commit is contained in:
Septs 2020-07-21 00:26:51 +08:00
parent b987d3ee6a
commit a9cc9fe764
3 changed files with 5 additions and 2 deletions

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
.venv

1
.scripts/.gitignore vendored
View file

@ -1 +0,0 @@
/.venv

View file

@ -1,5 +1,5 @@
#!/usr/bin/env bash #!/usr/bin/env bash
set -xeuo pipefail set -euo pipefail
IFS=$'\n\t' IFS=$'\n\t'
export MAX_LEN_4=29 export MAX_LEN_4=29
@ -10,9 +10,12 @@ if [ ! -d .venv ]; then
fi fi
source .venv/bin/activate source .venv/bin/activate
pip install -r .scripts/requirements.txt
mkdir -p "generated" mkdir -p "generated"
set -x
.scripts/roa.py -m "$MAX_LEN_4" -M "$MAX_LEN_6" -o generated/roa46_bird2.conf .scripts/roa.py -m "$MAX_LEN_4" -M "$MAX_LEN_6" -o generated/roa46_bird2.conf
.scripts/roa.py -m "$MAX_LEN_4" -M "$MAX_LEN_6" -4 -o generated/roa4_bird2.conf .scripts/roa.py -m "$MAX_LEN_4" -M "$MAX_LEN_6" -4 -o generated/roa4_bird2.conf
.scripts/roa.py -m "$MAX_LEN_4" -M "$MAX_LEN_6" -6 -o generated/roa6_bird2.conf .scripts/roa.py -m "$MAX_LEN_4" -M "$MAX_LEN_6" -6 -o generated/roa6_bird2.conf