Skip to content

Commit

Permalink
Enhance makefile (make package and make release now work)
Browse files Browse the repository at this point in the history
  • Loading branch information
mooz committed Aug 18, 2020
1 parent cdca4f2 commit b4cfbe1
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
SOURCES = $(shell find src/ -type f -name '*.js')
PACKAGE = package/.output/ikeysnail.box

package/.output/ikeysnail.box: $(SOURCES)
.PHONY: package
package: $(PACKAGE)

$(PACKAGE): $(SOURCES)
npx webpack-cli --mode=production
cd package; npx jsbox-cli build

# release: package/.output/ikeysnail.box
# npx release-it
release: $(PACKAGE)
npx release-it

0 comments on commit b4cfbe1

Please sign in to comment.