Skip to content

Commit

Permalink
Started demo page
Browse files Browse the repository at this point in the history
  • Loading branch information
aurbano committed Jun 3, 2015
1 parent dcb9f3d commit b5e9a2c
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 4 deletions.
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
.sass-cache
*.css.map
node_modules/*
node_modules/*
demo/*
build/*
.grunt/*
32 changes: 30 additions & 2 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,39 @@ module.exports = function(grunt) {
files: 'sass/*.scss',
tasks: ['sass:dev', 'sass:dist']
}
},
clean: {
build: {
src: ["build"]
}
},
copy: {
main: {
files: [
{
expand: true,
src: [
'css/sonar.css',
'index.html'
],
dest: 'build/'
}
],
},
},
'gh-pages': {
options: {
base: 'build'
},
src: ['**']
}
});
grunt.loadNpmTasks('grunt-contrib-sass');
grunt.loadNpmTasks('grunt-contrib-watch');

grunt.loadNpmTasks('grunt-contrib-copy');
grunt.loadNpmTasks('grunt-gh-pages');
grunt.loadNpmTasks('grunt-contrib-clean');
grunt.registerTask('default', ['watch']);
grunt.registerTask('build', ['sass:dev', 'sass:dist']);
grunt.registerTask('build', ['sass:dev', 'sass:dist', 'copy']);
grunt.registerTask('deploy', ['build','gh-pages']);
};
1 change: 1 addition & 0 deletions demo/index.html → index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
<title>sonar.css</title>
<link href='http://fonts.googleapis.com/css?family=Poiret+One' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css">
<link rel="stylesheet" href="css/sonar.css">
<style type="text/css">
html, body{padding:0; margin:0;}
h1 {
Expand Down
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,10 @@
"devDependencies": {
"grunt": "^0.4.5",
"grunt-cli": "^0.1.13",
"grunt-contrib-clean": "^0.6.0",
"grunt-contrib-copy": "^0.8.0",
"grunt-contrib-sass": "^0.9.2",
"grunt-contrib-watch": "^0.6.1"
"grunt-contrib-watch": "^0.6.1",
"grunt-gh-pages": "^0.10.0"
}
}

0 comments on commit b5e9a2c

Please sign in to comment.