~starkingdoms/starkingdoms

ea753e819cccf573e572932fb801f9e3e6fb20d4 — core 16 days ago fff9fc7
chore: continue ci/cd work 2
3 files changed, 10 insertions(+), 6 deletions(-)

M .build.yml
M crates/unified/Cargo.toml
M crates/xtask/src/unified.rs
M .build.yml => .build.yml +3 -1
@@ 17,7 17,9 @@ tasks:
      echo '. "$HOME/.cargo/env"' > ~/.profile
      source ~/.profile
      rustup target add wasm32-unknown-unknown
      sudo apk add zlib zlib-dev sccache
      sudo apk add zlib zlib-dev wget
      sudo wget https://coredoes.dev/sccache -O /usr/local/bin/sccache
      sudo chmod 0755 /usr/local/bin/sccache
  - web_client: |
      source ~/.profile
      cd starkingdoms

M crates/unified/Cargo.toml => crates/unified/Cargo.toml +4 -2
@@ 90,10 90,12 @@ tracing-wasm = "0.2"
console_error_panic_hook = "0.1"

[features]
native = [
native_dev = [
    "bevy/file_watcher",
    "bevy/hotpatching",
    "bevy/dynamic_linking",
    "bevy/dynamic_linking"
]
native = [
    "bevy/x11",
    "bevy/wayland",
    "dep:ctrlc"

M crates/xtask/src/unified.rs => crates/xtask/src/unified.rs +3 -3
@@ 19,7 19,7 @@ impl Task for RunServerNative {
            args.join(" ")
        };
        set_current_dir(workspace_dir().join("crates/unified/")).unwrap();
        cargo(format!("run -F native -F server --package starkingdoms -- server {args}"));
        cargo(format!("run -F native -F native_dev -F server --package starkingdoms -- server {args}"));
    }
}



@@ 40,7 40,7 @@ impl Task for RunListenServerNative {
            args.join(" ")
        };
        set_current_dir(workspace_dir().join("crates/unified/")).unwrap();
        cargo(format!("run -F native -F server -F client --package starkingdoms -- server {args}"));
        cargo(format!("run -F native -F native_dev -F server -F client --package starkingdoms -- server {args}"));
    }
}



@@ 61,6 61,6 @@ impl Task for RunClientNative {
            args.join(" ")
        };
        set_current_dir(workspace_dir().join("crates/unified/")).unwrap();
        cargo(format!("run -F native -F client --package starkingdoms -- client {args}"));
        cargo(format!("run -F native -F native_dev -F client --package starkingdoms -- client {args}"));
    }
}
\ No newline at end of file