Skip to content

Added generateConstantsFile.js script#74

Open
jd0yle wants to merge 1 commit into
Garethp:masterfrom
jd0yle:master
Open

Added generateConstantsFile.js script#74
jd0yle wants to merge 1 commit into
Garethp:masterfrom
jd0yle:master

Conversation

@jd0yle

@jd0yle jd0yle commented Mar 22, 2018

Copy link
Copy Markdown

I added a script, Config/generateConstantsFile.js, that will fetch the constants library file from the Screeps main repository, then parse that file and use it to generate a new Global/Constants.js file.

The script doesn't replace Global/Constants.js, it just dumps the file contents to stdout. I'm unsure what level of automation would be desired, so I figured it would be best to at least generate the contents and let you decide on the details of the automation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant