Permalink
Browse files

Make sure javascript files are concatened in the correct order.

  • Loading branch information...
1 parent 7b82a96 commit f3a98bfe00faba36394269cd020263e67fae2dca @stephank committed Jun 14, 2010
Showing with 2 additions and 1 deletion.
  1. +2 −1 Makefile
View
@@ -8,7 +8,8 @@ HTMLCOMP ?= ../htmlcompressor.jar
OGGENC ?= oggenc
-JSFILES := $(shell find src -iname '*.js' | grep -v '.lint.js')
+JSFILES := $(shell grep 'script src="src/' arashi.html | sed \
+ -e 's/^.\+\? src="//' -e 's/".\+//')
WAVFILES := $(shell find snd -iname '*.wav')
OGGFILES := $(WAVFILES:%.wav=%.ogg)
DISTSOUNDS := $(WAVFILES:snd/%=dist/snd/%) $(OGGFILES:snd/%=dist/snd/%)

0 comments on commit f3a98bf

Please sign in to comment.