move /build to /src/build
This commit is contained in:
parent
4a161de290
commit
c7e439ab08
|
@ -18,7 +18,7 @@ categories = ["game", "aerospace", "simulation"]
|
||||||
keywords = ["game", "space", "3d"]
|
keywords = ["game", "space", "3d"]
|
||||||
license = "GPL-3.0-only"
|
license = "GPL-3.0-only"
|
||||||
rust-version = "1.76.0"
|
rust-version = "1.76.0"
|
||||||
build = "build/build.rs"
|
build = "src/build/build.rs"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
regex = "1"
|
regex = "1"
|
||||||
|
|
|
@ -12,6 +12,6 @@ fn main() {
|
||||||
let target = std::env::var("TARGET").unwrap();
|
let target = std::env::var("TARGET").unwrap();
|
||||||
if target.contains("windows") {
|
if target.contains("windows") {
|
||||||
println!("cargo:warning=Embedding Windows Icon");
|
println!("cargo:warning=Embedding Windows Icon");
|
||||||
embed_resource::compile("build/windows/icon.rc");
|
embed_resource::compile("src/build/windows/icon.rc");
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -13,5 +13,5 @@
|
||||||
|
|
||||||
rootdir="${1:-}"
|
rootdir="${1:-}"
|
||||||
install -Dm755 "target/release/outfly" "$rootdir/usr/bin/outfly"
|
install -Dm755 "target/release/outfly" "$rootdir/usr/bin/outfly"
|
||||||
install -Dm644 "build/linux/outfly.png" "$rootdir/usr/share/pixmaps/outfly.png"
|
install -Dm644 "src/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.desktop" "$rootdir/usr/share/applications/outfly.desktop"
|
Before Width: | Height: | Size: 10 KiB After Width: | Height: | Size: 10 KiB |
|
@ -10,7 +10,7 @@
|
||||||
# + ▀████████████████████████████████████████████████████▀
|
# + ▀████████████████████████████████████████████████████▀
|
||||||
#
|
#
|
||||||
# A script to package release binaries + README.md into zip files.
|
# 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
|
# Options: -b: cross-compile targets before packing
|
||||||
|
|
||||||
set -e
|
set -e
|
Before Width: | Height: | Size: 27 KiB After Width: | Height: | Size: 27 KiB |
Loading…
Reference in a new issue