cahnged ttt-ce to ttt_ce due to a syntax conflict, and disabled macos and windows builds
This commit is contained in:
parent
84055c38f4
commit
89a2b7d965
11 changed files with 19 additions and 18 deletions
3
.github/workflows/ci.yml
vendored
3
.github/workflows/ci.yml
vendored
|
|
@ -8,7 +8,8 @@ jobs:
|
|||
test:
|
||||
strategy:
|
||||
matrix:
|
||||
os: [windows-latest, ubuntu-latest, macos-latest]
|
||||
# os: [windows-latest, ubuntu-latest, macos-latest]
|
||||
os: [ubuntu-latest]
|
||||
runs-on: ${{ matrix.os }}
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ on:
|
|||
# ToDo: adapt names
|
||||
env:
|
||||
# used for uploading the app to a GitHub release
|
||||
GAME_EXECUTABLE_NAME: ttt-ce
|
||||
GAME_EXECUTABLE_NAME: ttt_ce
|
||||
BUNDLE_PATH: "target/x/release/android/mobile.aab"
|
||||
PACKAGE_NAME: "com.opencodebox.tttce"
|
||||
# release track; you can promote a build to "higher" tracks in the play console or publish to a different track directly
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@ on:
|
|||
# ToDo: adapt names
|
||||
env:
|
||||
# used for uploading the app to a GitHub release
|
||||
GAME_EXECUTABLE_NAME: ttt-ce
|
||||
GAME_EXECUTABLE_NAME: ttt_ce
|
||||
XCODE_PROJECT: mobile
|
||||
MOBILE_DIRECTORY: mobile
|
||||
|
||||
|
|
|
|||
2
.github/workflows/release.yaml
vendored
2
.github/workflows/release.yaml
vendored
|
|
@ -14,7 +14,7 @@ on:
|
|||
# ToDo: adapt names
|
||||
env:
|
||||
# This variable is used to name release output files.
|
||||
GAME_EXECUTABLE_NAME: ttt-ce
|
||||
GAME_EXECUTABLE_NAME: ttt_ce
|
||||
GAME_OSX_APP_NAME: TTTCE
|
||||
|
||||
permissions:
|
||||
|
|
|
|||
14
.vscode/launch.json
vendored
14
.vscode/launch.json
vendored
|
|
@ -12,7 +12,7 @@
|
|||
"command": "nix-shell --run 'cargo run --features dev'",
|
||||
},
|
||||
{
|
||||
"command": "steam-run ./target/debug/ttt-ce",
|
||||
"command": "steam-run ./target/debug/ttt_ce",
|
||||
"name": "Run compiled (steam-run)",
|
||||
"request": "launch",
|
||||
"type": "node-terminal"
|
||||
|
|
@ -24,13 +24,13 @@
|
|||
"cargo": {
|
||||
"args": [
|
||||
"build",
|
||||
"--bin=ttt-ce",
|
||||
"--package=ttt-ce",
|
||||
"--bin=ttt_ce",
|
||||
"--package=ttt_ce",
|
||||
"--features",
|
||||
"dev"
|
||||
],
|
||||
"filter": {
|
||||
"name": "ttt-ce",
|
||||
"name": "ttt_ce",
|
||||
"kind": "bin"
|
||||
},
|
||||
},
|
||||
|
|
@ -55,13 +55,13 @@
|
|||
"args": [
|
||||
"test",
|
||||
"--no-run",
|
||||
"--bin=ttt-ce",
|
||||
"--package=ttt-ce",
|
||||
"--bin=ttt_ce",
|
||||
"--package=ttt_ce",
|
||||
"--features",
|
||||
"dev"
|
||||
],
|
||||
"filter": {
|
||||
"name": "ttt-ce",
|
||||
"name": "ttt_ce",
|
||||
"kind": "bin"
|
||||
}
|
||||
},
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ Template for a Game using the awesome [Bevy engine][bevy] featuring out of the b
|
|||
|
||||
# What does this template give you?
|
||||
|
||||
* small example ["game"](https://niklasei.github.io/ttt-ce_template/)
|
||||
* small example ["game"](https://niklasei.github.io/ttt_ce_template/)
|
||||
* easy setup for running the web build using [trunk] (`trunk serve`)
|
||||
* run the native version with `cargo run`
|
||||
* workflow for GitHub actions creating releases for Windows, Linux, macOS, and Web (Wasm) ready for distribution
|
||||
|
|
|
|||
4
Cargo.lock
generated
4
Cargo.lock
generated
|
|
@ -2751,7 +2751,7 @@ version = "0.1.0"
|
|||
dependencies = [
|
||||
"bevy",
|
||||
"cpal",
|
||||
"ttt-ce",
|
||||
"ttt_ce",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
|
|
@ -4069,7 +4069,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
|||
checksum = "17f77d76d837a7830fe1d4f12b7b4ba4192c1888001c7164257e4bc6d21d96b4"
|
||||
|
||||
[[package]]
|
||||
name = "ttt-ce"
|
||||
name = "ttt_ce"
|
||||
version = "0.1.0"
|
||||
dependencies = [
|
||||
"bevy",
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
[package]
|
||||
name = "ttt-ce" # ToDo
|
||||
name = "ttt_ce" # ToDo
|
||||
version = "0.1.0"
|
||||
publish = false
|
||||
authors = ["Mikolaj Wojciech 'Nimfer' Gorski"] # ToDo: you are the author ;)
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@
|
|||
<!-- Installs the actual files -->
|
||||
<ComponentGroup Id="MainComponent" Directory="INSTALLFOLDER">
|
||||
<Component>
|
||||
<File Id="Executable" Source="..\..\..\target\dist\ttt-ce.exe" Vital="true" /> <!-- ToDo this should point to your executable -->
|
||||
<File Id="Executable" Source="..\..\..\target\dist\ttt_ce.exe" Vital="true" /> <!-- ToDo this should point to your executable -->
|
||||
</Component>
|
||||
</ComponentGroup>
|
||||
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ name = "mobile"
|
|||
crate-type = ["staticlib", "cdylib"]
|
||||
|
||||
[dependencies]
|
||||
ttt-ce = { path = ".." } # ToDo
|
||||
ttt_ce = { path = ".." } # ToDo
|
||||
bevy = { version = "0.13", default-features = false }
|
||||
|
||||
# As long as Kira doesn't expose a feature for this, we need to enable it
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
use bevy::prelude::*;
|
||||
use bevy::window::WindowMode;
|
||||
use ttt-ce::GamePlugin; // ToDo: Replace ttt-ce with your new crate name.
|
||||
use ttt_ce::GamePlugin; // ToDo: Replace ttt_ce with your new crate name.
|
||||
|
||||
#[bevy_main]
|
||||
fn main() {
|
||||
|
|
|
|||
Loading…
Reference in a new issue