Merge pull request #852 from jitsi/make-node-sass

Installs node-sass on every update, fixes a problem in some operating…
This commit is contained in:
hristoterezov 2016-09-12 12:54:52 -05:00 committed by GitHub
commit 99ca38d13f
1 changed files with 4 additions and 1 deletions

View File

@ -16,8 +16,11 @@ IFRAME_API_DIR = ./modules/API/external
all: update-deps compile compile-iframe-api uglify uglify-iframe-api deploy clean all: update-deps compile compile-iframe-api uglify uglify-iframe-api deploy clean
# FIXME: there is a problem with node-sass not correctly installed (compiled)
# a quick fix to make sure it is installed on every update
# the problem appears on linux and not on macosx
update-deps: update-deps:
$(NPM) update $(NPM) update && $(NPM) install node-sass
compile: compile:
$(BROWSERIFY) $(BROWSERIFY_FLAGS) -e app.js -s APP | $(EXORCIST) $(OUTPUT_DIR)/app.bundle.js.map > $(OUTPUT_DIR)/app.bundle.js $(BROWSERIFY) $(BROWSERIFY_FLAGS) -e app.js -s APP | $(EXORCIST) $(OUTPUT_DIR)/app.bundle.js.map > $(OUTPUT_DIR)/app.bundle.js