Skip to content

Commit

Permalink
Organize scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
akarve committed Jun 10, 2024
1 parent 58b3424 commit d91c358
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 5 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ test-dist:: clean build install-dist test-readme

REDIRECT_OUTPUT ?= > /dev/null
test-readme::
bash test-readme.sh $(REDIRECT_OUTPUT)
bash scripts/test-readme.sh $(REDIRECT_OUTPUT)

push:: test-fast git-off-main git-no-unsaved
@branch=$$(git symbolic-ref --short HEAD); \
Expand All @@ -24,7 +24,7 @@ build: install-ci
poetry build

download-lists::
bash download-lists.sh
bash scripts/download-lists.sh

clean::
find . -type d -name "__pycache__" -exec rm -rf {} +
Expand All @@ -51,7 +51,7 @@ check::
poetry run black . --check
poetry run isort . --check
poetry run flake8 . --ignore=E501,W503
bash -n *.sh
bash -n scripts/*.sh

lint::
isort .
Expand Down
13 changes: 12 additions & 1 deletion poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ importlib-resources = { version = "^6.4.0", python = "<3.9" }
pycryptodome = "~3.20.0"
pytest = "~8.2.1"
pytest-xdist = "~3.6.1"
toml = "^0.10.2"

[tool.poetry.scripts]
bipsea = "bipsea.bipsea:cli"
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion test-readme.sh → scripts/test-readme.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ poetry run bipsea validate -f free -m "123456123456123456" | poetry run bipsea x

poetry run bipsea validate -f free -m "$(cat input.txt)"

poetry run bipsea validate -m $MNEMONIC | poetry run bipsea xprv | poetry run bipsea derive -a base85
poetry run bipsea validate -m "$MNEMONIC" | poetry run bipsea xprv | poetry run bipsea derive -a base85

poetry run bipsea validate -m "$MNEMONIC" | poetry run bipsea xprv | poetry run bipsea derive -a mnemonic -t jpn -n 12

Expand Down

0 comments on commit d91c358

Please sign in to comment.