Skip to content

Commit d389122

Browse files
committed
Add Makefile for common commands
1 parent cb64103 commit d389122

1 file changed

Lines changed: 7 additions & 3 deletions

File tree

Makefile

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22
PYTHON=python
3-
VERSION=`cut -d "'" -f 2 alerta/version.py`
3+
VERSION=`cut -d "'" -f 2 alertaclient/version.py`
44

55
all: help
66

@@ -23,7 +23,7 @@ init:
2323

2424
pylint:
2525
@pip -q install pylint
26-
pylint --rcfile pylintrc alerta
26+
pylint --rcfile pylintrc alertaclient
2727

2828
clean:
2929
find . -name "*.pyc" -exec rm {} \;
@@ -32,8 +32,12 @@ clean:
3232
test:
3333
nosetests tests
3434

35+
run:
36+
alerta top
37+
3538
tag:
36-
git tag -a v$(VERSION) -m "version $(VERSION)"
39+
git tag -a v$(VERSION) -m v$(VERSION)
3740

3841
upload:
3942
$(PYTHON) setup.py sdist bdist_wheel upload
43+

0 commit comments

Comments
 (0)