aboutsummaryrefslogtreecommitdiffhomepage
path: root/Gruntfile.js
diff options
context:
space:
mode:
Diffstat (limited to 'Gruntfile.js')
-rw-r--r--Gruntfile.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/Gruntfile.js b/Gruntfile.js
index 4df3181..7d984c6 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -1,6 +1,6 @@
/* global module:false */
module.exports = function(grunt) {
-
+ var port = grunt.option('port') || 8000;
// Project configuration
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
@@ -15,7 +15,6 @@ module.exports = function(grunt) {
' */'
},
- // Tests will be added soon
qunit: {
files: [ 'test/*.html' ]
},
@@ -48,7 +47,8 @@ module.exports = function(grunt) {
'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/solarized.css': 'css/theme/source/solarized.scss',
+ 'css/theme/blood.css': 'css/theme/source/blood.scss'
}
}
},
@@ -78,7 +78,7 @@ module.exports = function(grunt) {
connect: {
server: {
options: {
- port: 8000,
+ port: port,
base: '.'
}
}