From 692237a99c2eef6d51bfaeac92335c2e53772910 Mon Sep 17 00:00:00 2001 From: Septs Date: Sat, 29 Aug 2020 23:40:10 +0800 Subject: [PATCH] replace `.scripts` to `scripts` --- .github/workflows/roa.yml | 6 +++--- .github/workflows/test-your-pr.yml | 4 ++-- .scripts | 1 - scripts/generate-roa.sh | 16 ++++++++-------- 4 files changed, 13 insertions(+), 14 deletions(-) delete mode 120000 .scripts diff --git a/.github/workflows/roa.yml b/.github/workflows/roa.yml index 2349c25..b433206 100644 --- a/.github/workflows/roa.yml +++ b/.github/workflows/roa.yml @@ -26,13 +26,13 @@ jobs: python-version: 3.x architecture: x64 - - run: pip install -r .scripts/requirements.txt + - run: pip install -r scripts/requirements.txt - - run: .scripts/generate-roa.sh + - run: scripts/generate-roa.sh - run: git -C generated diff README.md - - run: .scripts/push-to-roa.sh + - run: scripts/push-to-roa.sh - uses: actions/upload-artifact@v2 with: diff --git a/.github/workflows/test-your-pr.yml b/.github/workflows/test-your-pr.yml index 84cb7e9..a17b536 100644 --- a/.github/workflows/test-your-pr.yml +++ b/.github/workflows/test-your-pr.yml @@ -24,9 +24,9 @@ jobs: python-version: 3.x architecture: x64 - - run: pip install -r .scripts/requirements.txt + - run: pip install -r scripts/requirements.txt - - run: .scripts/generate-roa.sh + - run: scripts/generate-roa.sh - run: git -C generated diff README.md diff --git a/.scripts b/.scripts deleted file mode 120000 index 528dc4e..0000000 --- a/.scripts +++ /dev/null @@ -1 +0,0 @@ -scripts \ No newline at end of file diff --git a/scripts/generate-roa.sh b/scripts/generate-roa.sh index 9b1d6d8..251e3ce 100755 --- a/scripts/generate-roa.sh +++ b/scripts/generate-roa.sh @@ -11,13 +11,13 @@ export MAX_LEN_6=64 mkdir -p generated mkdir -p generated/dns -.scripts/dns-reverse-generator.py +scripts/dns-reverse-generator.py cp -R dns/* generated/dns -.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 -.scripts/roa.py -m "$MAX_LEN_4" -M "$MAX_LEN_6" -j -o generated/roa46.json -.scripts/roa.py -m "$MAX_LEN_4" -M "$MAX_LEN_6" -e -o generated/neonetwork.json -.scripts/roa.py -m "$MAX_LEN_4" -M "$MAX_LEN_6" -r -o generated/rfc8416.json -.scripts/roa.py --summary --output generated/README.md +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 +scripts/roa.py -m "$MAX_LEN_4" -M "$MAX_LEN_6" -j -o generated/roa46.json +scripts/roa.py -m "$MAX_LEN_4" -M "$MAX_LEN_6" -e -o generated/neonetwork.json +scripts/roa.py -m "$MAX_LEN_4" -M "$MAX_LEN_6" -r -o generated/rfc8416.json +scripts/roa.py --summary --output generated/README.md