Closed jrobsonchase closed 5 years ago
Sounds like a good feature!
If we add this, I think we should still have one "deploy" per configuration file, and only support either copy
or upload
sections being present, not both. Does that sound alright to you?
I've been meaning to add support for multiple configuration files, and I think it would make it less awkward to have exactly one deploy option per file. We could rename --upload
to --deploy
to have it make sense deploying to a local directory as well.
I often find myself wanting to deploy to a local sandbox server that I'm running, and sometimes can't be bothered to set up the authentication mod that allows for the http upload functionality to work.
It would be nice to have an option to instead have the build artifacts copied to the directory that the screeps client watches and uploads for you.
The config could be something like:
Edit: This is probably something that I'd be willing to work on myself.