[Pkg-javascript-commits] [less.js] 181/285: use connect instead of http server and upgrade some more packages
Jonas Smedegaard
dr at jones.dk
Mon Oct 26 23:23:52 UTC 2015
This is an automated email from the git hooks/post-receive script.
js pushed a commit to annotated tag v2.0.0
in repository less.js.
commit 54a8a38077ec8ebab06ad3dbb8d08817241a3274
Author: Luke Page <luke.a.page at gmail.com>
Date: Sat Oct 18 09:05:19 2014 +0100
use connect instead of http server and upgrade some more packages
---
Gruntfile.js | 12 +++++-------
package.json | 5 ++---
2 files changed, 7 insertions(+), 10 deletions(-)
diff --git a/Gruntfile.js b/Gruntfile.js
index 00393c0..08a9dd6 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -36,14 +36,11 @@ module.exports = function (grunt) {
benchmark: {
command: 'node benchmark/less-benchmark.js'
},
- "browsertest-server": {
- command: 'node node_modules/http-server/bin/http-server . -p 8081'
- },
"sourcemap-test": {
command: [
'node bin/lessc --source-map --source-map-map-inline test/less/import.less test/sourcemaps/import.css',
- 'node bin/lessc --source-map --source-map-map-inline test/less/sourcemaps/basic.less test/sourcemaps/basic.css',
- 'node node_modules/http-server/bin/http-server test/sourcemaps -p 8084'].join('&&')
+ 'node bin/lessc --source-map --source-map-map-inline test/less/sourcemaps/basic.less test/sourcemaps/basic.css'
+ ].join('&&')
}
},
@@ -285,7 +282,7 @@ module.exports = function (grunt) {
// setup a web server to run the browser tests in a browser rather than phantom
grunt.registerTask('browsertest-server', [
'browsertest-lessjs',
- 'shell:browsertest-server'
+ 'connect::keepalive'
]);
// Run all tests
@@ -299,7 +296,8 @@ module.exports = function (grunt) {
// generate a good test environment for testing sourcemaps
grunt.registerTask('sourcemap-test', [
'clean:sourcemap-test',
- 'shell:sourcemap-test'
+ 'shell:sourcemap-test',
+ 'connect::keepalive'
]);
// Run benchmark
diff --git a/package.json b/package.json
index fbd623d..5106855 100644
--- a/package.json
+++ b/package.json
@@ -56,10 +56,9 @@
"grunt-contrib-jasmine": "~0.5.2",
"grunt-contrib-jshint": "~0.10.0",
"grunt-contrib-uglify": "~0.6.0",
- "grunt-shell": "~0.7.0",
- "http-server": "~0.6.1",
+ "grunt-shell": "~1.1.1",
"matchdep": "~0.3.0",
- "time-grunt": "~0.3.1",
+ "time-grunt": "~1.0.0",
"grunt-browserify": "~3.0.1"
},
"keywords": [
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/less.js.git
More information about the Pkg-javascript-commits
mailing list