Open erick2014 opened 6 years ago
when I run make I got and error, it happens when it reaches this line of the Makefile @cp -Rfv $(SOURCE)/* $(LIB) and runing this command on windows
@cp -Rfv $(SOURCE)/* $(LIB)
this is my make file :
LINT=./node_modules/.bin/jshint LINT_FLAGS= TEST=./node_modules/.bin/mocha --recursive --require=./test/setup.js SPEC_FLAGS=-R spec COVERAGE_FLAGS=-R mocha-text-cov WEBPACK=./node_modules/.bin/webpack SOURCE=./src LIB=./lib usage: @echo lint: lints the source @echo spec: runs the test specs @echo coverage: runs the code coverage test @echo test: lint, spec and coverage threshold test @echo build: builds the minified version @echo clean: removes the build artifacts lint: @$(LINT) $(LINT_FLAGS) $(SOURCE) spec: @$(TEST) $(SPEC_FLAGS) test/index coverage: @$(TEST) $(COVERAGE_FLAGS) test/index test: @make lint @make spec @make coverage COVERAGE_FLAGS="-R travis-cov" build: @$(WEBPACK) --config webpack.dev.js @$(WEBPACK) --config webpack.prod.js cp node_modules/quill/dist/quill.core.css dist cp node_modules/quill/dist/quill.snow.css dist cp node_modules/quill/dist/quill.bubble.css dist mkdir -p $(LIB) cp -Rfv $(SOURCE)/* $(LIB) watch: @$(WEBPACK) --watch --config webpack.dev.js clean: @if [ -d dist ]; then rm -r dist; fi @if [ -d lib ]; then rm -r lib; fi .PHONY: usage test spec coverage lint build clean
You can use something like this: copy "node_modules/quill/dist/quill.core.css" "dist"
when I run make I got and error, it happens when it reaches this line of the Makefile
@cp -Rfv $(SOURCE)/* $(LIB)
and runing this command on windowsthis is my make file :