Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

file 26 lines (19 sloc) 0.502 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26

output ?= './prime.wrup.js'
output_compress ?= './prime.min.js'
amd ?= ''

all: test build build-compress

test: test-node

test-node:
@./node_modules/mocha/bin/mocha --reporter nyan \
./test/es5/* \
./test/util/* \
./test/prime/* \
./test/collection/*

build:
@wrup -r prime ./ > $(output)
@echo "File written to $(output)"

build-compress:
@wrup -r prime ./ --compress yes > $(output_compress)
@echo "File written to $(output_compress)"

convert-amd:
@bash ./bin/convert-amd.sh $(amd)
Something went wrong with that request. Please try again.