Skip to content

Commit 3dc598d

Browse files
committed
Add default rule to Makefile
1 parent 8682ac6 commit 3dc598d

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

Makefile

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,19 @@
1-
.PHONY: build upload
1+
.PHONY: default
2+
default: install
23

4+
.PHONY: build
35
build:
46
python setup.py sdist
57

8+
.PHONY: clean
9+
clean:
10+
-rm -f dist/openai-*.tar.gz
11+
12+
.PHONY: install
13+
install: clean build
14+
python -m pip install -U dist/openai-*.tar.gz
15+
16+
.PHONY: upload
617
upload:
718
twine upload dist/openai-*.tar.gz
819
rm dist/openai-*.tar.gz

0 commit comments

Comments
 (0)