forked from seutje/PimpMyCode
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
created node service and initial page to welcome the uglify process w…
…ith some basic options
- Loading branch information
Showing
545 changed files
with
48,117 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
.DS_Store | ||
.idea/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
VERSION=1.3.0 | ||
DATE=$(shell DATE) | ||
BOOTSTRAP = ./css/bootstrap.css | ||
BOOTSTRAP_MIN = ./css/bootstrap.min.css | ||
BOOTSTRAP_LESS = ./less/bootstrap.less | ||
LESS_COMPESSOR ?= `which lessc` | ||
WATCHR ?= `which watchr` | ||
|
||
build: | ||
@@if test ! -z ${LESS_COMPESSOR}; then \ | ||
sed -e 's/@VERSION/'"v${VERSION}"'/' -e 's/@DATE/'"${DATE}"'/' <${BOOTSTRAP_LESS} >${BOOTSTRAP_LESS}.tmp; \ | ||
lessc ${BOOTSTRAP_LESS}.tmp > ${BOOTSTRAP}; \ | ||
lessc ${BOOTSTRAP_LESS}.tmp > ${BOOTSTRAP_MIN} --compress; \ | ||
rm -f ${BOOTSTRAP_LESS}.tmp; \ | ||
echo "Bootstrap successfully built! - `date`"; \ | ||
else \ | ||
echo "You must have the LESS compiler installed in order to build Bootstrap."; \ | ||
echo "You can install it by running: npm install less -g"; \ | ||
fi | ||
|
||
watch: | ||
@@if test ! -z ${WATCHR}; then \ | ||
echo "Watching less files..."; \ | ||
watchr -e "watch('less/.*\.less') { system 'make' }"; \ | ||
else \ | ||
echo "You must have the watchr installed in order to watch Bootstrap less files."; \ | ||
echo "You can install it by running: gem install watchr"; \ | ||
fi | ||
|
||
.PHONY: build watch |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
ps aux | grep pimpStart.js | ||
|
Oops, something went wrong.