Jump to content

Easily pull library from github?


gaelbeltran
 Share

Recommended Posts

If you registered Phaser as a bower component you could easily install it (assuming you have bower install globally) by typing

$ bower install phaser

OR, if you reaaally wanted to, you could create a Yeoman generator and scaffold an entire Phaser project by simple typing

$ yo phaser

If you guys have an interest in this, I could send a PR to help out.

Link to comment
Share on other sites

Well, git has no feature to download a single file.

Since the code is hosted on github, you can navigate to the build folder, pick either phaser.js or phaser.min.js (I would not recommend the minified version for development).

After the page has loaded the file content, you can click the little "Raw" button on the top right to switch to a display mode where you can simply save the file on your HDD.

 

Also, if you like to just pull the repo without forking it, you simply create a new folder somewhere, then navigate to it with your commandline and execute this commands:

git initgit remote add origin [email protected]:photonstorm/phaser.gitgit pull origin master

To pull the latest version from the github servers. (Hold tight, this will take a moment).

 

*edit: heh, bkurtz13 was faster :)

Link to comment
Share on other sites

If you registered Phaser as a bower component you could easily install it (assuming you have bower install globally) by typing

$ bower install phaser

OR, if you reaaally wanted to, you could create a Yeoman generator and scaffold an entire Phaser project by simple typing

$ yo phaser

If you guys have an interest in this, I could send a PR to help out.

 

I would definitely be interested in offering these as additional methods to get the library, yes.

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...