Skip to content
This repository has been archived by the owner on May 23, 2022. It is now read-only.

Commit

Permalink
Makes makefile simpler.
Browse files Browse the repository at this point in the history
  • Loading branch information
robotlolita committed May 24, 2013
1 parent 342740d commit b230cb0
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions Makefile
@@ -1,14 +1,9 @@
targets := polygamous.umd.js
bin = $(shell npm bin)
browserify := $(bin)/browserify polygamous.js
bin := $(shell npm bin)
browserify := $(bin)/browserify polygamous.js

dist/$(targets): dist
$(browserify) --standalone polygamous > $@

dist:
mkdir dist

bundle: dist/polygamous.umd.js
bundle:
mkdir -p dist
$(browserify) --standalone polygamous > dist/polygamous.umd.js

clean:
rm -rf dist
Expand Down

0 comments on commit b230cb0

Please sign in to comment.