cocos2d / cocos2d-js__old__

cocos2d in JavaScript central repository
14 stars 9 forks source link

cocos2d cmd line tool: update / package management #38

Open ricardoquesada opened 11 years ago

ricardoquesada commented 11 years ago
$ cocos2d update
$ cocos2d version

The command line tool should be able to

eg:

$ cocos2d version

cocos2d v0.3.1 includes:
- cocos2d-x v2.1.1a
- Chipmunk v6.1.4
- JS Bindings v0.6
- Chipmunk-JS v0.3
- cocos2d-html5 2.1.3
- CocosPlayer 1.1
- CocosBulder 3.1a
$ coco2d update

No new versions available for download

# one day later
$ coco2d update

Updating to cocos2d v0.3.2

This could be done using a sophisticated package management like .deb or .rpm, or just a .zip file. First version should be super simple, and a .zip should be enough... (perhpaps one .zip file for the "kernel", another for the editor, and another for cocosPlayer)... in the future we could add dependencies if needed.

vlidholt commented 11 years ago

For security purposes the zip-file (or whatever is used) should probably be downloaded from https, or use a hash to verify its validity.