Skip to content

Commit

Permalink
Merge pull request #7 from jonataswalker/makefile
Browse files Browse the repository at this point in the history
Declare variables as simple ones
  • Loading branch information
jonataswalker committed Nov 28, 2015
2 parents 1957e09 + 2ddfe6f commit e021f33
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,25 +6,25 @@ JS_FINAL := $(BUILD_DIR)/ol3-geocoder.js
CSS_COMBINED := $(BUILD_DIR)/ol3-geocoder.css
CSS_FINAL := $(BUILD_DIR)/ol3-geocoder.min.css

JS_FILES = $(SRC_DIR)/wrapper-head.js \
JS_FILES := $(SRC_DIR)/wrapper-head.js \
$(SRC_DIR)/base.js \
$(SRC_DIR)/nominatim.js \
$(SRC_DIR)/utils.js \
$(SRC_DIR)/wrapper-tail.js

CSS_FILES = $(SRC_DIR)/ol3-geocoder.css

CLEANCSS = /usr/local/bin/cleancss
CLEANCSSFLAGS = --skip-restructuring
POSTCSS = /usr/bin/postcss
POSTCSSFLAGS = --use autoprefixer -b "last 2 versions"
JSHINT = /usr/bin/jshint
UGLIFYJS = /usr/bin/uglifyjs
UGLIFYJSFLAGS = --mangle --mangle-regex --screw-ie8 -c warnings=false
JS_BEAUTIFY = /usr/bin/js-beautify
BEAUTIFYFLAGS = -f - --indent-size 2 --preserve-newlines
NODEMON = /usr/bin/nodemon
PARALLELSHELL = /usr/bin/parallelshell
CSS_FILES := $(SRC_DIR)/ol3-geocoder.css

CLEANCSS := /usr/local/bin/cleancss
CLEANCSSFLAGS := --skip-restructuring
POSTCSS := /usr/bin/postcss
POSTCSSFLAGS := --use autoprefixer -b "last 2 versions"
JSHINT := /usr/bin/jshint
UGLIFYJS := /usr/bin/uglifyjs
UGLIFYJSFLAGS := --mangle --mangle-regex --screw-ie8 -c warnings:=false
JS_BEAUTIFY := /usr/bin/js-beautify
BEAUTIFYFLAGS := -f - --indent-size 2 --preserve-newlines
NODEMON := /usr/bin/nodemon
PARALLELSHELL := /usr/bin/parallelshell

# just to create variables like NODEMON_JS_FLAGS when called
define NodemonFlags
Expand Down

0 comments on commit e021f33

Please sign in to comment.