Kevin van Zonneveld hace 9 años
padre
commit
fe93d08882
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      Makefile

+ 1 - 1
Makefile

@@ -26,7 +26,7 @@
 define npm_script_targets
 TARGETS := $(shell node -e 'for (var k in require("./package.json").scripts) {console.log(k.replace(/:/g, "-"));}')
 $$(TARGETS):
-	npm run $(MAKECMDGOALS:-=:)
+	npm run $(subst -,:,$(MAKECMDGOALS))
 
 .PHONY: $$(TARGETS)
 endef