initial commit
This commit is contained in:
commit
f811271baf
6
.gitignore
vendored
Normal file
6
.gitignore
vendored
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
/target
|
||||||
|
Cargo.lock
|
||||||
|
.DS_Store
|
||||||
|
/.idea
|
||||||
|
*.exe
|
||||||
|
*.dll
|
15
Cargo.toml
Normal file
15
Cargo.toml
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
[package]
|
||||||
|
name = "adventure-game"
|
||||||
|
version = "0.1.0"
|
||||||
|
edition = "2021"
|
||||||
|
|
||||||
|
[dependencies]
|
||||||
|
ggdt = { git = "https://code.blarg.ca/gered/ggdt.git", rev = "9d02e23e9a9d6095cce729e466c1fc56534f147b" }
|
||||||
|
anyhow = "=1.0.75"
|
||||||
|
byteorder = "1.5.0"
|
||||||
|
serde = { version = "1.0.192", features = ["derive"] }
|
||||||
|
serde_json = "1.0.108"
|
||||||
|
|
||||||
|
[package.metadata.cross.target.x86_64-pc-windows-gnu]
|
||||||
|
pre-build = ["curl -o /SDL2-devel-2.24.0-mingw.tar.gz http://www.libsdl.org/release/SDL2-devel-2.24.0-mingw.tar.gz && tar -C /usr/x86_64-w64-mingw32/include/ --strip-components=3 -xvf /SDL2-devel-2.24.0-mingw.tar.gz SDL2-2.24.0/x86_64-w64-mingw32/include/ && tar -C /usr/x86_64-w64-mingw32/lib/ --strip-components=3 -xvf /SDL2-devel-2.24.0-mingw.tar.gz SDL2-2.24.0/x86_64-w64-mingw32/lib/"]
|
||||||
|
|
4
build-windows.sh
Executable file
4
build-windows.sh
Executable file
|
@ -0,0 +1,4 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
cargo install -f cross
|
||||||
|
cross build --target x86_64-pc-windows-gnu --release
|
3
rust-toolchain.toml
Normal file
3
rust-toolchain.toml
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
[toolchain]
|
||||||
|
# same as ggdt, for now
|
||||||
|
channel = "nightly-2023-11-10"
|
3
src/main.rs
Normal file
3
src/main.rs
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
fn main() {
|
||||||
|
println!("Hello, world!");
|
||||||
|
}
|
Loading…
Reference in a new issue