forked from terraforming-mars/terraforming-mars
-
Notifications
You must be signed in to change notification settings - Fork 0
Bot migration notes
Robert Konigsberg edited this page Oct 28, 2023
·
7 revisions
I created a new local git repo
- Copied all the files from Pylon the repo. There's no way to download all the code at once, so sadly, it's a big copy/paste operation.
- One of the major compiler issues is the
discord
component, using the IDE I shift-clicked thediscord
entry and foundlib.pylon.discord.d.ts
. Copied that into a dedicatedpylon
directory. - Same for
pylon
andlib.pylon.d.ts
. - I tweaked a little code but undid as much of it as I could remember so I could...
git init; git commit -a
- Removing declarations from the pylon files that cross with lib.dom.
- Added these two lines to every file
/// <reference path="../pylon/lib.pylon.d.ts" />
/// <reference path="../pylon/lib.pylon.discord.d.ts" />
with the ..
replaced with other prefixes as necessary.