mirror of
https://github.com/NeoCloud/NeoNetwork
synced 2024-12-25 14:29:24 +08:00
update scripts
This commit is contained in:
parent
b987d3ee6a
commit
a9cc9fe764
3 changed files with 5 additions and 2 deletions
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
.venv
|
1
.scripts/.gitignore
vendored
1
.scripts/.gitignore
vendored
|
@ -1 +0,0 @@
|
|||
/.venv
|
|
@ -1,5 +1,5 @@
|
|||
#!/usr/bin/env bash
|
||||
set -xeuo pipefail
|
||||
set -euo pipefail
|
||||
IFS=$'\n\t'
|
||||
|
||||
export MAX_LEN_4=29
|
||||
|
@ -10,9 +10,12 @@ if [ ! -d .venv ]; then
|
|||
fi
|
||||
|
||||
source .venv/bin/activate
|
||||
pip install -r .scripts/requirements.txt
|
||||
|
||||
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" -4 -o generated/roa4_bird2.conf
|
||||
.scripts/roa.py -m "$MAX_LEN_4" -M "$MAX_LEN_6" -6 -o generated/roa6_bird2.conf
|
||||
|
|
Loading…
Reference in a new issue