Skip to content

Commit

Permalink
A website occurs.
Browse files Browse the repository at this point in the history
  • Loading branch information
Wilto committed Nov 6, 2014
1 parent 0edd198 commit f8ed441
Show file tree
Hide file tree
Showing 25 changed files with 689 additions and 122 deletions.
20 changes: 6 additions & 14 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ module.exports = function(grunt) {
custom_options: {
options: {
url: "http://ricg.io.dev?nocrit",
filename : '_dist/_css/all.css',
filename : '_css/all.css',
outputfile: "_dist/_css/critical.css"
}
}
Expand Down Expand Up @@ -165,7 +165,6 @@ module.exports = function(grunt) {

// Default task.
grunt.registerTask('default', [
'chmod:writeable',
'clean',
'qunit',
'concat',
Expand All @@ -174,19 +173,15 @@ module.exports = function(grunt) {
'uglify',
'assemble',
'criticalcss',
'chmod:readonly'
]);

// NOTE these watch tasks try to run only relevant tasks per file save

grunt.registerTask('watch-endpoints', [
'chmod:writeable',
'copy',
'chmod:readonly'
]);

grunt.registerTask('watch-default', [
'chmod:writeable',
'clean',
'qunit',
'concat',
Expand All @@ -195,34 +190,31 @@ module.exports = function(grunt) {
'uglify',
'assemble',
'criticalcss',
'chmod:readonly'
]);

grunt.registerTask('watch-css', [
'chmod:writeable',
'clean',
'copy',
'assemble',
'concat:css_main',
'cssmin',
'criticalcss',
'chmod:readonly'
]);

grunt.registerTask('watch-js', [
'chmod:writeable',
'concat:js_initial',
'concat:js_main',
'concat:js_respond',
'chmod:readonly'
'concat:js_main'
]);

grunt.registerTask('stage', [
'clean',
'qunit',
'copy',
'concat',
'copy',
'cssmin',
'uglify',
'assemble',
'criticalcss',
'uglify'
]);
};
19 changes: 19 additions & 0 deletions _dist/_css/_svg/star.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added _dist/_css/_type/dinweb-cond.ttf
Binary file not shown.
Binary file added _dist/_css/_type/proximanova-bold.ttf
Binary file not shown.
Binary file added _dist/_css/_type/proximanova-reg.ttf
Binary file not shown.
3 changes: 3 additions & 0 deletions _dist/_css/all.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit f8ed441

Please sign in to comment.