Skip to content

Instantly share code, notes, and snippets.

@Munter
Created April 29, 2014 10:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Munter/11395876 to your computer and use it in GitHub Desktop.
Save Munter/11395876 to your computer and use it in GitHub Desktop.
PATH:=./node_modules/.bin/:${PATH}
PHONY: clean build
build: app/index.html
buildProduction \
--root app \
--outroot build \
$<
clean:
rm -rf build
npm install assetgraph-builder --save
@stephenhay
Copy link

This one worked fine for me:

NODE:=node_modules/.bin

PHONY: clean build

build: app/index.html
    $(NODE)/buildProduction \
        --root app \
        --outroot build \
        $<

clean:
    rm -rf build

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment