add dep checking.

This commit is contained in:
Paul Tagliamonte 2013-03-11 08:46:09 -04:00
parent 85ffdbdb8a
commit 7a907e2a3a
2 changed files with 10 additions and 2 deletions

View File

@ -3,7 +3,7 @@ STATIC_CSS = $(STATIC)/css
STATIC_JS = $(STATIC)/js STATIC_JS = $(STATIC)/js
all: hello build all: hello deps build
hello: hello:
@ -32,12 +32,17 @@ coffee:
clean: clean:
rm -f $(STATIC_CSS) $(STATIC_JS) rm -fr $(STATIC_CSS) $(STATIC_JS)
mkdir -p $(STATIC_CSS) $(STATIC_JS) mkdir -p $(STATIC_CSS) $(STATIC_JS)
devel: devel:
@./devel.sh @./devel.sh
deps:
set -e; for x in $(shell cat dependencies); do \
echo "Checking for dependency: $$x"; \
dpkg-query -s $$x >/dev/null 2>&1; \
done;
.PHONY: build clean less coffee devel .PHONY: build clean less coffee devel

3
site/dependencies Normal file
View File

@ -0,0 +1,3 @@
coffeescript
node-uglify
node-less