We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fcc2650 commit 5560239Copy full SHA for 5560239
Makefile
@@ -1,20 +1,12 @@
1
-# Put all 'bin' dirs beneath node_modules into $PATH so that we're using
2
-# the locally installed AssetGraph:
3
-# Ugly 'subst' hack: Check the Make Manual section 8.1 - Function Call Syntax
4
-NPM_BINS := $(subst bin node,bin:node,$(shell if test -d node_modules; then find node_modules/ -name bin -type d; fi))
5
-ifneq ($(NPM_BINS),)
6
- PATH := ${NPM_BINS}:${PATH}
7
-endif
8
-
9
deps := $(shell find public/ -type f -name "*.*")
10
11
public-min: public/index.html $(deps)
12
- buildProduction \
+ node_modules/assetgraph-builder/bin/buildProduction \
13
--root public \
14
--outroot public-min \
15
$<
16
17
PHONY: clean
18
19
clean:
20
- rm -rf public-min
+ rm -rf public-min
0 commit comments