mirror of
https://github.com/TiddlyWiki/TiddlyWiki5.git
synced 2026-05-01 13:36:55 +00:00
21
node_modules/async/Makefile
generated
vendored
Normal file
21
node_modules/async/Makefile
generated
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
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
|
||||
Reference in New Issue
Block a user