1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
|
Title: snest.net
Author: Sensuke Osawa
Access: senosa@gmail.com
License: GPL
Comment: Responsive, Mobile friendly, using Sass preprocessor.
Copyright 2016 (C) Sensuke Osawa <senosa@gmail.com>
gulpを使ってscssファイルの変更を監視し自動でコンパイルする手順。
```
# node.jsインストール
# nodebrewを使うなどお好みでどうぞ。
# gulpをグローバルにインストール
npm install -g gulp
# tdiary/tdiary-themeリポジトリをクローン
git clone https://github.com/tdiary/tdiary-theme.git
# gulpをローカルにインストール
cd /path/to/tdiary-theme/snest
npm install
npm install gulp
# watchタスクの開始
gulp scss:watch
```
以後、scssディレクトリ内を変更すると自動でsnest.cssが更新されます。
|