Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 42143d9784
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 23 lines (15 sloc) 0.419 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
PACKAGE = nimble
NODEJS = $(if $(shell test -f /usr/bin/nodejs && echo "true"),nodejs,node)

BUILDDIR = .

all: build

build: nimble.js
uglifyjs -nc nimble.js > $(BUILDDIR)/nimble.min.js
gzip -c nimble.min.js > nimble.min.js.gzip

test:
nodeunit test/test.js

clean:
rm $(BUILDDIR)/nimble.min.js
rm $(BUILDDIR)/nimble.min.js.gzip

lint:
nodelint --config nodelint.cfg nimble.js

.PHONY: clean test lint build all
Something went wrong with that request. Please try again.