M .woodpecker/.backplane.yaml => .woodpecker/.backplane.yaml +3 -3
@@ 1,20 1,20 @@
steps:
- name: backplane_fmt
- image: coresdev/stk_build_env
+ image: rust:alpine
commands:
- cd starkingdoms-backplane
- rustfmt **/*.rs --check --edition 2021 --color always
environment:
CARGO_INCREMENTAL: "0"
- name: backplane_clippy
- image: coresdev/stk_build_env
+ image: rust:alpine
commands:
- cd starkingdoms-backplane
- cargo clippy --profile release-ci --color always
environment:
CARGO_INCREMENTAL: "0"
- name: backplane_build
- image: coresdev/stk_build_env
+ image: rust:alpine
commands:
- cd starkingdoms-backplane
- cargo build --profile release-ci --color always
M .woodpecker/.server.yaml => .woodpecker/.server.yaml +3 -3
@@ 1,20 1,20 @@
steps:
- name: server_fmt
- image: coresdev/stk_build_env
+ image: rust:alpine
commands:
- cd server
- rustfmt **/*.rs --check --edition 2021 --color always
environment:
CARGO_INCREMENTAL: "0"
- name: server_clippy
- image: coresdev/stk_build_env
+ image: rust:alpine
commands:
- cd server
- cargo clippy --profile release-ci --color always
environment:
CARGO_INCREMENTAL: "0"
- name: server_build
- image: coresdev/stk_build_env
+ image: rust:alpine
commands:
- cd server
- cargo build --profile release-ci --color always
M starkingdoms-client/src/hub.ts => starkingdoms-client/src/hub.ts +1 -3
@@ 19,7 19,6 @@ import { global } from "./globals.ts";
import { startRender } from "./rendering.ts";
import { ButtonType } from "./protocol.ts";
import type Chatbox from "./components/Chatbox.svelte";
-import type Button from "./components/ui/Button.svelte";
import { part_texture_url } from "./textures.js";
import * as PIXI from "pixi.js";
@@ 46,8 45,7 @@ export async function hub_connect(
velocity: HTMLSpanElement,
x_pos: HTMLSpanElement,
y_pos: HTMLSpanElement,
- energy: HTMLDivElement,
- beam_out_button: Button,
+ energy: HTMLDivElement
): Promise<ClientHub | null> {
logger("connecting to client hub at " + url);
M starkingdoms-client/src/pages/Play.svelte => starkingdoms-client/src/pages/Play.svelte +2 -4
@@ 10,10 10,10 @@
import { onMount } from "svelte";
import Popup from "../components/ui/Popup.svelte";
import Checkbox from "../components/ui/Checkbox.svelte";
- import Button from "../components/ui/Button.svelte";
import { global } from "../globals.ts";
import { PacketType } from "../protocol.ts";
import * as PIXI from "pixi.js";
+ import Button from "../components/ui/Button.svelte";
let config = DEFAULT_CONFIG;
@@ 25,7 25,6 @@
//let antialiasing: boolean = false;
let chatbox: Chatbox;
- let beam_out_button: Button;
const logger = createDebug("main");
logger(
@@ 108,7 107,6 @@
x_pos,
y_pos,
energy,
- beam_out_button,
);
});
</script>
@@ 167,7 165,7 @@
<tbody>
<tr>
<td id="leave">
- <Button on:click={beam_out} bind:this={beam_out_button}>
+ <Button on:click={beam_out}>
Beam out
</Button>
</td>