move /build to /src/build

This commit is contained in:
yuni 2024-04-25 01:14:38 +02:00
parent 4a161de290
commit c7e439ab08
9 changed files with 5 additions and 5 deletions

View file

@ -18,7 +18,7 @@ categories = ["game", "aerospace", "simulation"]
keywords = ["game", "space", "3d"]
license = "GPL-3.0-only"
rust-version = "1.76.0"
build = "build/build.rs"
build = "src/build/build.rs"
[dependencies]
regex = "1"

View file

@ -12,6 +12,6 @@ fn main() {
let target = std::env::var("TARGET").unwrap();
if target.contains("windows") {
println!("cargo:warning=Embedding Windows Icon");
embed_resource::compile("build/windows/icon.rc");
embed_resource::compile("src/build/windows/icon.rc");
}
}

View file

@ -13,5 +13,5 @@
rootdir="${1:-}"
install -Dm755 "target/release/outfly" "$rootdir/usr/bin/outfly"
install -Dm644 "build/linux/outfly.png" "$rootdir/usr/share/pixmaps/outfly.png"
install -Dm644 "build/linux/outfly.desktop" "$rootdir/usr/share/applications/outfly.desktop"
install -Dm644 "src/build/linux/outfly.png" "$rootdir/usr/share/pixmaps/outfly.png"
install -Dm644 "src/build/linux/outfly.desktop" "$rootdir/usr/share/applications/outfly.desktop"

View file

Before

Width:  |  Height:  |  Size: 10 KiB

After

Width:  |  Height:  |  Size: 10 KiB

View file

@ -10,7 +10,7 @@
# + ▀████████████████████████████████████████████████████▀
#
# A script to package release binaries + README.md into zip files.
# Usage: cd outfly; build/pack.sh [-b]
# Usage: cd outfly; src/build/pack.sh [-b]
# Options: -b: cross-compile targets before packing
set -e

View file

Before

Width:  |  Height:  |  Size: 27 KiB

After

Width:  |  Height:  |  Size: 27 KiB