Skip to content

Commit

Permalink
removed all vendor-prefixes from reveal.css
Browse files Browse the repository at this point in the history
  • Loading branch information
burnpanck committed Sep 5, 2014
1 parent 131c006 commit 4c15512
Show file tree
Hide file tree
Showing 4 changed files with 1,876 additions and 523 deletions.
19 changes: 18 additions & 1 deletion Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,14 @@ module.exports = function(grunt) {
files: [ 'Gruntfile.js', 'js/reveal.js' ]
},

autoprefixer: {
dist: {
files: {
'css/reveal.css': 'css/reveal.bare.css'
}
}
},

connect: {
server: {
options: {
Expand Down Expand Up @@ -104,6 +112,10 @@ module.exports = function(grunt) {
theme: {
files: [ 'css/theme/source/*.scss', 'css/theme/template/*.scss' ],
tasks: 'themes'
},
css: {
files: [ 'css/reveal.bare.css' ],
tasks: 'css'
}
}

Expand All @@ -117,14 +129,19 @@ module.exports = function(grunt) {
grunt.loadNpmTasks( 'grunt-contrib-watch' );
grunt.loadNpmTasks( 'grunt-contrib-sass' );
grunt.loadNpmTasks( 'grunt-contrib-connect' );
grunt.loadNpmTasks( 'grunt-autoprefixer' );
grunt.loadNpmTasks( 'grunt-zip' );

// Default task
grunt.registerTask( 'default', [ 'jshint', 'cssmin', 'uglify', 'qunit' ] );
grunt.registerTask( 'default', [ 'jshint', 'autoprefixer', 'cssmin', 'uglify', 'qunit' ] );

// Theme task
grunt.registerTask( 'themes', [ 'sass' ] );

// CSS task
grunt.registerTask( 'css', [ 'autoprefixer' ] );


// Package presentation to archive
grunt.registerTask( 'package', [ 'default', 'zip' ] );

Expand Down
Loading

0 comments on commit 4c15512

Please sign in to comment.