-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #14 from groupon/npub
Upgrade npub
- Loading branch information
Showing
2 changed files
with
12 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,13 @@ | ||
all: clean setup test check-checkout-clean | ||
.PHONY: all clean setup | ||
|
||
build: | ||
@./node_modules/.bin/npub prep | ||
@./node_modules/.bin/coffee -cbo lib src | ||
|
||
prepublish: | ||
./node_modules/.bin/npub prep | ||
|
||
clean: | ||
rm -rf lib node_modules | ||
|
||
test: build | ||
all: clean setup | ||
npm test | ||
|
||
release: all | ||
git push --tags origin HEAD:master | ||
npm publish | ||
clean: | ||
rm -rf node_modules | ||
|
||
setup: | ||
npm install | ||
|
||
# This will fail if there are unstaged changes in the checkout | ||
check-checkout-clean: | ||
git diff --exit-code | ||
release-%: clean setup | ||
./node_modules/.bin/npub publish $(subst release-,,$@) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters