Creating a screeps github repository



  • Sorry, the question may appear a little nooby since I wasn't using github much before.

    So, I decided to use a separate IDE to write my code in, and commit that to the game through my github repository. Is there a way to get the existing codebase from the game to github automatically? If not, what the file structure in the repository should be so the game could read that properly? Is that just a .js file per module?

    Thanks



  • 1 js file per module; require does have an overhead though, so I'd just concatenate all files into one big main.js file on build



  • Oh, so that's it? I don't have to use stuff like Grunt to get it working?



  • Thanks, I figured it out, everything up and running.