-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added less compilation via watch, and a task which will build the les…
…s and jade, start the server, then watch for changes
- Loading branch information
Spencer Alger
committed
Feb 24, 2014
1 parent
193f4f9
commit a3fcbbd
Showing
7 changed files
with
29 additions
and
8 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#examples ng-include { | ||
display: block; | ||
margin: 10px; | ||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
@import '../../bower_components/bootstrap/less/bootstrap.less'; | ||
@import '../../bower_components/bootstrap/less/theme.less'; | ||
@import "../../bower_components/bootstrap/less/bootstrap.less"; | ||
@import "../../bower_components/bootstrap/less/theme.less"; | ||
|
||
body { | ||
margin: 25px; | ||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
module.exports = { | ||
src: { | ||
src: [ | ||
'<%= app %>/styles/**/*.less', | ||
'<%= app %>/apps/**/*.less' | ||
], | ||
expand: true, | ||
ext: '.css', | ||
options: { | ||
ieCompat: false | ||
} | ||
} | ||
}; |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
// Lint and build CSS | ||
module.exports = function(grunt) { | ||
grunt.registerTask('default', ['jshint:source','test']); | ||
module.exports = function (grunt) { | ||
grunt.registerTask('default', ['jshint:source', 'test']); | ||
}; |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
module.exports = function (grunt) { | ||
grunt.registerTask('dev', ['less', 'jade', 'connect:dev', 'watch']); | ||
}; |