aboutsummaryrefslogtreecommitdiff
path: root/Gruntfile.js
diff options
context:
space:
mode:
Diffstat (limited to 'Gruntfile.js')
-rw-r--r--Gruntfile.js38
1 files changed, 17 insertions, 21 deletions
diff --git a/Gruntfile.js b/Gruntfile.js
index 3e67b9f..46385f4 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -36,19 +36,15 @@ module.exports = function(grunt) {
}
},
themes: {
- files: {
- 'css/theme/black.css': 'css/theme/source/black.scss',
- 'css/theme/white.css': 'css/theme/source/white.scss',
- 'css/theme/league.css': 'css/theme/source/league.scss',
- 'css/theme/beige.css': 'css/theme/source/beige.scss',
- 'css/theme/night.css': 'css/theme/source/night.scss',
- 'css/theme/serif.css': 'css/theme/source/serif.scss',
- 'css/theme/simple.css': 'css/theme/source/simple.scss',
- 'css/theme/sky.css': 'css/theme/source/sky.scss',
- 'css/theme/moon.css': 'css/theme/source/moon.scss',
- 'css/theme/solarized.css': 'css/theme/source/solarized.scss',
- 'css/theme/blood.css': 'css/theme/source/blood.scss'
- }
+ files: [
+ {
+ expand: true,
+ cwd: 'css/theme/source',
+ src: ['*.scss'],
+ dest: 'css/theme',
+ ext: '.css'
+ }
+ ]
}
},
@@ -96,8 +92,8 @@ module.exports = function(grunt) {
options: {
port: port,
base: '.',
- livereload: true,
- open: true
+ livereload: true,
+ open: true
}
}
},
@@ -114,9 +110,9 @@ module.exports = function(grunt) {
},
watch: {
- options: {
- livereload: true
- },
+ options: {
+ livereload: true
+ },
js: {
files: [ 'Gruntfile.js', 'js/reveal.js' ],
tasks: 'js'
@@ -129,9 +125,9 @@ module.exports = function(grunt) {
files: [ 'css/reveal.scss' ],
tasks: 'css-core'
},
- html: {
- files: [ 'index.html']
- }
+ html: {
+ files: [ 'index.html']
+ }
}
});