Fix bad dependency on tmp/globals-globals.js.
This commit is contained in:
parent
d027537c34
commit
5ce2064c37
2
Makefile
2
Makefile
@ -208,7 +208,7 @@ test.html : README.md template.jst tools/markdown.js node_modules/marked/package
|
||||
index.html : test.html
|
||||
$(CP)
|
||||
|
||||
tmp/.jshintrc : src/meta/jshint.json tmp/declaration.js tmp/globals-globals.js $(template_deps) | tmp
|
||||
tmp/.jshintrc : src/meta/jshint.json tmp/declaration.js src/globals/globals.js $(template_deps) | tmp
|
||||
$(template) $< $@
|
||||
|
||||
.events/jshint.% : tmp/%.js tmp/.jshintrc node_modules/jshint/package.json | .events/compile
|
||||
|
||||
@ -23,7 +23,7 @@
|
||||
%><%=
|
||||
read('/tmp/declaration.js').match(/^var (.*);/)[1].split(', ').map(x => `,\n "${x}": true`).join('')
|
||||
%><%=
|
||||
read('/tmp/globals-globals.js').match(/^var (.*);/)[1].split(', ').map(x => `,\n "${x}": true`).join('')
|
||||
read('/src/globals/globals.js').match(/^var (.*);/)[1].split(', ').map(x => `,\n "${x}": true`).join('')
|
||||
%>
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user