Kaynağa Gözat

add .cmd extensions to makefile.win

I was getting the following error while running make all on my windows machine
"""
node_modules/.bin/bower install
'node_modules' is not recognized as an internal or external command,
operable program or batch file.
make: *** [stamp-bower] Error 1
"""

This was resolved by adding the complete extension to the windows path.
Jacob Danner 10 yıl önce
ebeveyn
işleme
707712e65c
1 değiştirilmiş dosya ile 3 ekleme ve 3 silme
  1. 3 3
      Makefile.win

+ 3 - 3
Makefile.win

@@ -1,11 +1,11 @@
 # You can set these variables from the command line.
 GRUNT   		?= node_modules\.bin\grunt.cmd
-BOWER           ?= node_modules\.bin\bower
-PHANTOMJS       ?= node_modules\.bin\phantomjs
+BOWER                   ?= node_modules\.bin\bower.cmd
+PHANTOMJS               ?= node_modules\.bin\phantomjs.cmd
 SASS 			?= sass 
 RMRF 			?= rmdir /q /s 
 RMF 			?= del /q 
-HTTPSERVE		?= ./node_modules/.bin/http-server
+HTTPSERVE		?= ./node_modules/.bin/http-server.cmd
 
 .PHONY: all help clean css minjs build