Skip to content

Add flags to node build for selecting server repo and branch #2540

@andrebastosdias

Description

@andrebastosdias

Add flags to node build to specify the server's repository and branch. It should also detect whether the current caches/pokemon-showdown matches the ones specified in the flags.

if (!fs.existsSync('caches/pokemon-showdown')) {
child_process.execSync('git clone https://github.com/smogon/pokemon-showdown.git', {
cwd: 'caches',
});
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions