Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
43 lines (33 sloc) 779 Bytes
MODULE=brick
MAIN=hello_world
STACK=$(subst _,-,$(MAIN))
dump:
ic dump $(MODULE):$(MAIN)
ic tree $(MODULE):$(MAIN)
upload:
ic upload
deploy: dump upload
aws cloudformation deploy \
--capabilities CAPABILITY_IAM \
--template-file build/template.yaml \
--stack-name $(STACK)
ic value $(STACK) | jq -r
invoke:
ic value $(STACK) | xargs curl -s | xargs -0 echo
format:
poetry run black .
poetry run isort -rc src
poetry run autoflake -ri src
prettier --write README.md
check:
MYPYPATH=./src poetry run mypy -p $(MODULE)
build: format check
poetry build
poetry run twine check dist/*
install:
poetry install
clean:
rm -rf build
find . -type d \( -name "__pycache__" -o -name ".mypy_cache" \) | xargs rm -rf
distclean: clean
rm -rf dist src/*.egg-info
You can’t perform that action at this time.