forked from claws/buildbot-prometheus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
31 lines (24 loc) · 1.1 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# This makefile has been created to help developers perform common actions.
# It assumes it is operating in an environment, such as a virtual env,
# where the python command links to an appropriate Python.
# help: help - display this makefile's help information
help:
@grep "^# help\:" Makefile | grep -v grep | sed 's/\# help\: //' | sed 's/\# help\://'
# help: clean - clean all files using .gitignore rules
clean:
@git clean -X -f -d
# help: clean.scrub - clean all files, even untracked files
clean.scrub:
git clean -x -f -d
# help: dist - create a source distribution package
dist: clean
@python setup.py bdist_wheel
# help: dist.test - test a source distribution package
dist.test: dist
@cd tests && ./test.bash ../dist/buildbot_prometheus-*-none-any.whl
# help: dist.upload - upload a source distribution package
dist.upload:
@twine upload ./dist/buildbot_prometheus-*-none-any.whl
# Keep these lines at the end of the file to retain nice help
# output formatting.
# help: