Created
September 22, 2016 02:41
-
-
Save simongcc/9c71f1da32aad12ed61e19f69aa992a4 to your computer and use it in GitHub Desktop.
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
@echo off | |
set file=config.rb | |
set project=%1 | |
set lang=tc | |
echo( # Ensure UTF-8 css is correctly parsed by Ruby compiler >> %file% | |
echo(Encoding.default_external = "utf-8" >> %file% | |
echo( >> %file% | |
echo(# Require any additional compass plugins here. >> %file% | |
rem if use boostrap | |
rem echo require "bootstrap-sass" >> %file% | |
echo require "compass/import-once/activate" >> %file% | |
echo( >> %file% | |
echo # Set this to the root of your project when deployed: >> %file% | |
echo http_path = "/" >> %file% | |
echo css_dir = "%project%/%lang%/css" >> %file% | |
echo sass_dir = "_source" >> %file% | |
echo images_dir = "%project%/%lang%/img >> %file%" | |
echo javascripts_dir = "%project%/js" >> %file% | |
echo( >> %file% | |
echo #please mount //wosvr20/inetpub/ as z: to work ( //wosvr20/inetpub/_shared/scss/custom ) >> %file% | |
echo #z: is \\wosvr20\inetpub\, compass compiler does not support network path, need to mount it first >> %file% | |
echo add_import_path "z:/_shared/scss/custom" >> %file% | |
echo( >> %file% | |
echo # optional/depends on project >> %file% | |
echo # add_import_path "bower_components/foundation-sites/scss" >> %file% | |
echo # add_import_path "bower_components/motion-ui/src" >> %file% | |
rem set /p ".=" <nul >> %file% | |
rem show config file | |
rem type config.rb |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Configuration reference
http://compass-style.org/help/documentation/configuration-reference/
example