rustyscreeps / cargo-screeps

Build tool for deploying Rust WASM code to Screeps game servers
MIT License
25 stars 13 forks source link

[X.build] option ignored #43

Closed BlueskyFR closed 9 months ago

BlueskyFR commented 1 year ago

When using the following:

default_deploy_mode = "my-awesome-profile"

[build]
build_profile = "dev"

[my-awesome-profile]
XXX

[my-other-profile]
XXX
    [my-other-profile.build]
    build_profile = "release"

and issuing cargo screeps deploy -m my-other-profile, the Wasm gets built in dev mode instead of release

shanemadden commented 9 months ago

Oh, this case actually isn't fixed by the linked PR, needs a separate fix