Skip to content
This repository has been archived by the owner on Mar 19, 2023. It is now read-only.

Commit

Permalink
update generator to melonjs 1.1.0 version
Browse files Browse the repository at this point in the history
  • Loading branch information
ellisonleao committed Dec 20, 2014
1 parent b3aeaf5 commit eea4017
Show file tree
Hide file tree
Showing 9 changed files with 886 additions and 413 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,10 @@ $ yo melonjs
Running the game

```
$ grunt connect:keepalive
$ grunt connect
```

Open the browser in http://localhost:8889
Open the browser in http://localhost:8001

### Getting To Know Yeoman

Expand Down
26 changes: 4 additions & 22 deletions app/templates/_Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,40 +59,22 @@ module.exports = function(grunt) {
connect : {
server : {
options : {
port : 8889
port : 8001,
host: '*',
keepalive: true
}
},

keepalive : {
options : {
port : 8889,
keepalive : true
}
}
},

manifest: {
generate:{
options: {
basePath: '.',
cache: sourceFiles,
master: ['index.html']
},
src: sourceFiles + ['index.html', 'index.css', 'data/*', 'lib/*']
}
}

});

grunt.loadNpmTasks('grunt-contrib-uglify');
grunt.loadNpmTasks('grunt-contrib-jshint');
grunt.loadNpmTasks('grunt-contrib-concat');
grunt.loadNpmTasks('grunt-contrib-clean');
grunt.loadNpmTasks('grunt-manifest');
grunt.loadNpmTasks("grunt-contrib-connect");


// Default task.
grunt.registerTask('default', ['concat', 'uglify', 'manifest']);
grunt.registerTask('default', ['concat', 'uglify']);
grunt.registerTask('lint', ['jshint:beforeConcat', 'concat', 'jshint:afterConcat']);
};
2 changes: 1 addition & 1 deletion app/templates/build/game-min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit eea4017

Please sign in to comment.