diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..b694934 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.venv \ No newline at end of file diff --git a/.scripts/.gitignore b/.scripts/.gitignore deleted file mode 100644 index fb9df04..0000000 --- a/.scripts/.gitignore +++ /dev/null @@ -1 +0,0 @@ -/.venv \ No newline at end of file diff --git a/.scripts/generate-roa.sh b/.scripts/generate-roa.sh index 29cf5b3..33bee96 100755 --- a/.scripts/generate-roa.sh +++ b/.scripts/generate-roa.sh @@ -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