SCSS / SASS多个目录中的多个站点 [英] SCSS/SASS Multiple Sites in Multiple Directories

查看:108
本文介绍了SCSS / SASS多个目录中的多个站点的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

$ p

我目前的网站结构是这样的。

/ p>

  REPO> WEBSITE1> CSS 
REPO> WEBSITE2> CSS
REPO> WEBSITE3> CSS
REPO> WEBSITE4> CSS

有任何方法让Compass或SASS监视整个版本库)每个网站使用config.rb或任何其他方法?



感谢您的帮助!

解决方案

$

 #!/ bin / bash 
for i in repoa repob repoc repod
do
compass watch$ i / pathtoyourconfig.rb&
done


I'm looking at setting SCSS up on a platform that uses SVN with multiple websites on a team of eight.

Our currently site structure is like this.

REPO > WEBSITE1 > CSS
REPO > WEBSITE2 > CSS
REPO > WEBSITE3 > CSS
REPO > WEBSITE4 > CSS

Is there any way to Make Compass or SASS watch the entire repository (without having to watch / unwatch) each individual website with the config.rb or any other method?

Thanks for your help!

解决方案

#!/bin/bash
for i in repoa repob repoc repod
  do
    compass watch "$i/pathtoyourconfig.rb" &
done

这篇关于SCSS / SASS多个目录中的多个站点的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆