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
2
2
3
- all : test version
3
+ all : clean test install build version
4
4
5
5
version v :
6
- git describe --tags
6
+ git describe --tags || :
7
7
python -m setuptools_scm
8
8
9
9
test t :
10
10
pytest --cov=src/cedarscript_ast_parser tests/ --cov-report term-missing
11
11
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
13
20
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/*
16
22
17
23
clean 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