File tree Expand file tree Collapse file tree 1 file changed +13
-7
lines changed Expand file tree Collapse file tree 1 file changed +13
-7
lines changed Original file line number Diff line number Diff line change 1- .PHONY : all version v test t dist d clean c
1+ .PHONY : all version v test t install i build b dist d clean c
22
3- all : test version
3+ all : clean test install build version
44
55version v :
6- git describe --tags
6+ git describe --tags || :
77 python -m setuptools_scm
88
99test t :
1010 pytest --cov=src/cedarscript_ast_parser tests/ --cov-report term-missing
1111
12- dist d : test
12+ install i :
13+ pip install -e .
14+
15+ build b :
16+ # SETUPTOOLS_SCM_PRETEND_VERSION=0.0.1
17+ python -m build
18+
19+ dist d : clean test build
1320 scripts/check-version.sh
14- rm -rf dist/cedarscript_* .whl dist/cedarscript_* .tar.gz
15- python -m build && twine upload dist/*
21+ twine upload dist/*
1622
1723clean c :
18- rm -rfv out dist/cedarscript_ * .whl dist/cedarscript_ * .tar.gz build/bdist.* build/lib/cedarscript*
24+ rm -rfv out dist build/bdist.* build/lib/cedarscript*
You can’t perform that action at this time.
0 commit comments