Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
22 lines (14 sloc) 350 Bytes
PACKAGE = asyncjs
NODEJS = $(if $(shell test -f /usr/bin/nodejs && echo "true"),nodejs,node)
BUILDDIR = dist
all: build
build: $(wildcard lib/*.js)
mkdir -p $(BUILDDIR)
uglifyjs lib/async.js > $(BUILDDIR)/async.min.js
test:
nodeunit test
clean:
rm -rf $(BUILDDIR)
lint:
nodelint --config nodelint.cfg lib/async.js
.PHONY: test build all
Something went wrong with that request. Please try again.