Created
November 22, 2013 07:53
-
-
Save colorqualia/7596371 to your computer and use it in GitHub Desktop.
grunt-compass-coffee
This file contains hidden or 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
| module.exports = (grunt) -> | |
| grunt.initConfig | |
| # compass task | |
| compass: | |
| dev: | |
| options: | |
| config: 'config.rb' | |
| outputStyle: 'expanded' | |
| prod: | |
| options: | |
| config: 'config.rb' | |
| outputStyle: 'compressed' | |
| # watch task | |
| watch: | |
| dev: | |
| files: ['sass/*.scss'] | |
| tasks: ['compass:dev'] | |
| # plugin | |
| grunt.loadNpmTasks 'grunt-contrib-watch' | |
| grunt.loadNpmTasks 'grunt-contrib-compass' | |
| # defalut task | |
| grunt.registerTask 'default', ['compass:prod'] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
プロジェクトディレクトリで以下のコマンドを実行する。