Skip to content

Commit

Permalink
Remove NPM script for compiling CSS.
Browse files Browse the repository at this point in the history
  • Loading branch information
cjcenizal committed Jul 31, 2017
1 parent 6c50b8f commit 4f75e7f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,7 @@
"mocha": "echo 'use `node scripts/mocha`' && false",
"sterilize": "grunt sterilize",
"uiFramework:start": "grunt uiFramework:start",
"uiFramework:build": "grunt uiFramework:build",
"uiFramework:compileCss": "grunt uiFramework:compileCss"
"uiFramework:build": "grunt uiFramework:build"
},
"repository": {
"type": "git",
Expand Down
3 changes: 1 addition & 2 deletions tasks/ui_framework.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,9 +110,8 @@ module.exports = function (grunt) {
// Compile the SCSS in a separate process because node-sass throws a fatal error if it fails
// to compile.
grunt.util.spawn({
cmd: 'npm',
cmd: isPlatformWindows ? '.\\node_modules\\.bin\\grunt.cmd' : './node_modules/.bin/grunt',
args: [
'run',
'uiFramework:compileCss',
],
}, (error, result) => {
Expand Down
3 changes: 2 additions & 1 deletion ui_framework/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@

### Documentation

Compile the CSS with `npm run uiFramework:compileCss`.
Compile the CSS with `./node_modules/grunt/bin/grunt uiFramework:compileCss` (OS X) or
`.\node_modules\grunt\bin\grunt uiFramework:compileCss` (Windows).

You can view interactive documentation by running `npm run uiFramework:start` and then visiting
`http://localhost:8020/`. This will also start watching the SCSS files, and will recompile the CSS
Expand Down

0 comments on commit 4f75e7f

Please sign in to comment.