Skip to content

Commit 06a39e2

Browse files
committed
feat: support platform linux/amd64
1 parent e107bf0 commit 06a39e2

File tree

2 files changed

+14
-8
lines changed

2 files changed

+14
-8
lines changed

Makefile

+13-7
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,24 @@
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

55
version v:
6-
git describe --tags
6+
git describe --tags ||:
77
python -m setuptools_scm
88

99
test t:
1010
pytest --cov=src/cedarscript_ast_parser tests/ --cov-report term-missing
1111

12-
dist d: test
12+
install i:
13+
pip install --upgrade --force-reinstall -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

1723
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*

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ classifiers = [
2626
]
2727
keywords = ["parser", "ast", "cedarscript", "code-editing", "refactoring", "code-analysis", "sql-like", "ai-assisted-development"]
2828
dependencies = [
29-
"cedarscript-grammar>=0.5.0",
29+
"cedarscript-grammar>=0.5.1",
3030
]
3131
requires-python = ">=3.8"
3232

0 commit comments

Comments
 (0)