Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gruntfile updates #69

Merged
merged 2 commits into from
Mar 30, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ module.exports = function(grunt) {
dist: {
src: 'css/*.css'
},
docs: {
src: '_site/*.css'
}
},

// Runs CSS reporting
Expand Down Expand Up @@ -60,7 +63,7 @@ module.exports = function(grunt) {

watch: {
sass: {
files: 'scss/**/*.scss',
files: ['scss/**/*.scss', 'docs/docs.scss'],
tasks: ['sass', 'autoprefixer', 'parker']
}
},
Expand Down Expand Up @@ -98,8 +101,8 @@ module.exports = function(grunt) {
grunt.loadNpmTasks('grunt-sass');

// Generate and format the CSS
grunt.registerTask('default', ['sass', 'autoprefixer', 'parker']);
grunt.registerTask('default', ['sass', 'jekyll', 'autoprefixer', 'parker']);

// Publish to GitHub
grunt.registerTask('publish', ['jekyll', 'buildcontrol:pages']);
grunt.registerTask('publish', ['jekyll', 'autoprefixer:docs', 'buildcontrol:pages']);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line is too long.

};