forked from phaserjs/phaser
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added grunt file and npm package for OSX debs
- Loading branch information
1 parent
1217bf4
commit 364492d
Showing
7 changed files
with
5,751 additions
and
13,388 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
module.exports = function (grunt) { | ||
grunt.loadNpmTasks('grunt-typescript'); | ||
grunt.loadNpmTasks('grunt-contrib-watch'); | ||
grunt.loadNpmTasks('grunt-contrib-copy'); | ||
|
||
grunt.initConfig({ | ||
pkg: grunt.file.readJSON('package.json'), | ||
typescript: { | ||
base: { | ||
src: ['Phaser/**/*.ts'], | ||
dest: 'build/phaser.js', | ||
options: { | ||
target: 'ES5' | ||
} | ||
} | ||
}, | ||
copy: { | ||
main: { | ||
files: [ | ||
{src: 'build/phaser.js', dest: 'Tests/phaser.js'} | ||
]} | ||
}, | ||
watch: { | ||
files: '**/*.ts', | ||
tasks: ['typescript', 'copy'] | ||
} | ||
}); | ||
|
||
grunt.registerTask('default', ['watch']); | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,4 @@ | ||
/** | ||
* Phaser | ||
* | ||
* v0.9.1 - April 19th 2013 | ||
* | ||
* A small and feature-packed 2D canvas game framework born from the firey pits of Flixel and Kiwi. | ||
* | ||
* Richard Davey (@photonstorm) | ||
* | ||
* Many thanks to Adam Saltsman (@ADAMATOMIC) for the original Flixel AS3 code on which Phaser is based. | ||
* | ||
* "If you want your children to be intelligent, read them fairy tales." | ||
* "If you want them to be more intelligent, read them more fairy tales." | ||
* -- Albert Einstein | ||
*/ | ||
var Phaser; | ||
(function (Phaser) { | ||
Phaser.VERSION = 'Phaser version 0.9.1'; | ||
})(Phaser || (Phaser = {})); | ||
var Phaser; | ||
(function (Phaser) { | ||
Phaser.VERSION = 'Phaser version 0.9.1'; | ||
})(Phaser || (Phaser = {})); |
Oops, something went wrong.