Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/ForkAwesome/Fork-Awesome.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 6 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 5d1288681..0a1530dec 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-PATH := ../node_modules/.bin:$(PATH)
+PATH := ../node_modules/.bin:$(PATH)
FA_ROOT_DIRECTORY = assets/fork-awesome
FA_LESS_DIRECTORY = assets/fork-awesome/less
@@ -23,18 +23,19 @@ build:
bundle exec lessc ${FA_LESS_MODERN} > ${FA_CSS_MODERN}
bundle exec lessc --clean-css="--compatibility=ie8" ${FA_LESS_MODERN} > ${FA_CSS_MODERN_MIN}
-# sass ${FA_SCSS_MODERN} ${FA_CSS_MODERN}
+ # sass ${FA_SCSS_MODERN} ${FA_CSS_MODERN}
bundle exec lessc --clean-css="--compatibility=ie8" ${SITE_LESS} > ${SITE_CSS}
- @echo "Moving font filse and README"
- cp -r ${FA_ROOT_DIRECTORY}/* ../
+ @echo "Moving font files and README"
+ cp -r ../fonts ${FA_ROOT_DIRECTORY}/
mv README.md-nobuild ../README.md
@echo "Generating zip file"
cd assets && mv fork-awesome fork-awesome-1.0.3 && zip -r9 fork-awesome-1.0.3.zip fork-awesome-1.0.3 && mv fork-awesome-1.0.3 fork-awesome
- find .. -type f ! -perm 644 -exec chmod 644 {} \;
+ # TODO: figure out why this was here and remove it if unused. It blocked running local less version
+ # find .. -type f ! -perm 644 -exec chmod 644 {} \;
default: build