Skip to content

Commit

Permalink
Update makefile for publish version
Browse files Browse the repository at this point in the history
  • Loading branch information
hotoo committed May 10, 2014
1 parent 62dd757 commit 1144b8e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
THEME = $(HOME)/.spm/themes/arale
version = $(shell cat package.json | grep version | awk -F'"' '{print $$4}')

build:
@spm build

publish: build
@spm publish -s spmjs
@git tag $(version)
@git push origin $(version)
@make publish-doc

build-doc:
@nico build -C $(THEME)/nico.js
Expand Down

0 comments on commit 1144b8e

Please sign in to comment.