Skip to content

Commit

Permalink
build: add pre-release and remove-pre-release
Browse files Browse the repository at this point in the history
  • Loading branch information
peaceiris committed Nov 25, 2020
1 parent 6846094 commit d6e657f
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,14 @@ test:
.PHONY: all
all:
docker-compose run --rm -T dev npm run all

.PHONY: pre-release
pre-release:
npm run build
git add ./lib/index.js
git commit -m "chore: npm run build"

.PHONY: remove-pre-release
remove-pre-release:
git rm -f ./lib/index.js
git commit -m "chore: remove lib/index.js"

0 comments on commit d6e657f

Please sign in to comment.