Remove legacy http server

Signed-off-by: Junjie Mao <junjie.mao@enight.me>
This commit is contained in:
Junjie Mao 2015-09-16 10:55:31 +08:00
parent 0e85097d0a
commit 1f6be65347
3 changed files with 3 additions and 15 deletions

View File

@ -38,15 +38,6 @@ module.exports = function(grunt) {
files: ['<%= jshint.files %>'], files: ['<%= jshint.files %>'],
tasks: ['jshint', 'concat'] tasks: ['jshint', 'concat']
}, },
connect: {
server: {
options: {
port: 8082,
base: './',
keepalive: true
}
}
},
php: { php: {
dist: { dist: {
options: { options: {
@ -61,7 +52,6 @@ module.exports = function(grunt) {
grunt.loadNpmTasks('grunt-contrib-uglify'); grunt.loadNpmTasks('grunt-contrib-uglify');
grunt.loadNpmTasks('grunt-contrib-jshint'); grunt.loadNpmTasks('grunt-contrib-jshint');
grunt.loadNpmTasks('grunt-contrib-watch'); grunt.loadNpmTasks('grunt-contrib-watch');
grunt.loadNpmTasks('grunt-contrib-connect');
grunt.loadNpmTasks('grunt-contrib-concat'); grunt.loadNpmTasks('grunt-contrib-concat');
grunt.registerTask('default', ['jshint', 'concat', 'uglify']); grunt.registerTask('default', ['jshint', 'concat', 'uglify']);

View File

@ -12,7 +12,7 @@ V8-CPU simulator is used for labs& exercises on first-year(freshman) undergradua
### How to build ### How to build
Make sure you have <a href="http://www.gruntjs.com/" target="_blank">Grunt</a> installed to compile the `asmsimulator.js` script. Make sure you have <a href="http://www.gruntjs.com/" target="_blank">Grunt</a> installed to compile the `asmsimulator.js` script.
Run `grunt` to build the project. Run `npm install && grunt` to build the project and `grunt http` to run.
### Background ### Background
A technical introduction is available on Marco Schweighauser's blog: [www.mschweighauser.com](https://www.mschweighauser.com/make-your-own-assembler-simulator-in-javascript-part1/). A technical introduction is available on Marco Schweighauser's blog: [www.mschweighauser.com](https://www.mschweighauser.com/make-your-own-assembler-simulator-in-javascript-part1/).

View File

@ -8,11 +8,9 @@
"angular": "~1.4.5", "angular": "~1.4.5",
"grunt": "~0.4.1", "grunt": "~0.4.1",
"grunt-contrib-concat": "~0.3.0", "grunt-contrib-concat": "~0.3.0",
"grunt-contrib-connect": "~0.6.0",
"grunt-contrib-jshint": "~0.7.0", "grunt-contrib-jshint": "~0.7.0",
"grunt-contrib-uglify": "~0.2.4", "grunt-contrib-uglify": "~0.2.4",
"grunt-contrib-watch": "~0.5.3", "grunt-contrib-watch": "~0.5.3",
"grunt-http-server": "0.0.2",
"grunt-php": "^1.5.1", "grunt-php": "^1.5.1",
"load-grunt-tasks": "^3.2.0" "load-grunt-tasks": "^3.2.0"
} }