Skip to content

Commit

Permalink
Signed-off-by: Dmitry Ponyatov <ponyatov@meteo.local>
Browse files Browse the repository at this point in the history
  • Loading branch information
Dmitry Ponyatov committed Jul 9, 2020
1 parent 8dbf952 commit 1005120
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
MODULE = $(notdir $(CURDIR))
TODAY = $(shell date +%d%m%y)
CWD = $(CURDIR)
MODULE = $(shell echo $(notdir $(CWD)) | tr "[:upper:]" "[:lower:]" )
OS ?= $(shell uname -s)

NOW = $(shell date +%d%m%y)
REL = $(shell git rev-parse --short=4 HEAD)

.PHONY: all
all: book test jslibs
Expand All @@ -21,7 +25,8 @@ merge:
git checkout ponyatov -- Makefile book/ metaL.py metaL.ml

release:
git tag $(TODAY) && git push --tags
git tag $(NOW)-$(REL)
git push -v && git push -v --tags

test:
py.test --cov=metaL test_metaL.py
Expand Down

0 comments on commit 1005120

Please sign in to comment.