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 git@github.com: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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

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