mirror of
https://github.com/creating2morrow/neveko.git
synced 2024-12-22 11:39:22 +00:00
update build_release.sh
This commit is contained in:
parent
f7b6eccf23
commit
6a79a5271b
14 changed files with 38 additions and 29 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -8,3 +8,4 @@ genkey-batch
|
|||
monero-wallet-rpc.log
|
||||
notes.txt
|
||||
.vscode/settings.json
|
||||
.bz2
|
12
Cargo.lock
generated
12
Cargo.lock
generated
|
@ -2019,7 +2019,7 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "nevmes"
|
||||
version = "0.1.0-alpha"
|
||||
version = "0.2.0-alpha"
|
||||
dependencies = [
|
||||
"env_logger",
|
||||
"nevmes_auth",
|
||||
|
@ -2032,7 +2032,7 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "nevmes_auth"
|
||||
version = "0.1.0-alpha"
|
||||
version = "0.2.0-alpha"
|
||||
dependencies = [
|
||||
"env_logger",
|
||||
"log 0.4.17",
|
||||
|
@ -2042,7 +2042,7 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "nevmes_contact"
|
||||
version = "0.1.0-alpha"
|
||||
version = "0.2.0-alpha"
|
||||
dependencies = [
|
||||
"env_logger",
|
||||
"log 0.4.17",
|
||||
|
@ -2052,7 +2052,7 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "nevmes_core"
|
||||
version = "0.1.0-alpha"
|
||||
version = "0.2.0-alpha"
|
||||
dependencies = [
|
||||
"chrono",
|
||||
"clap",
|
||||
|
@ -2077,7 +2077,7 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "nevmes_gui"
|
||||
version = "0.1.0-alpha"
|
||||
version = "0.2.0-alpha"
|
||||
dependencies = [
|
||||
"chrono",
|
||||
"console_error_panic_hook",
|
||||
|
@ -2101,7 +2101,7 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "nevmes_message"
|
||||
version = "0.1.0-alpha"
|
||||
version = "0.2.0-alpha"
|
||||
dependencies = [
|
||||
"env_logger",
|
||||
"log 0.4.17",
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "nevmes"
|
||||
version = "0.1.0-alpha"
|
||||
version = "0.2.0-alpha"
|
||||
edition = "2021"
|
||||
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
|
4
nevmes-auth/Cargo.lock
generated
4
nevmes-auth/Cargo.lock
generated
|
@ -1189,7 +1189,7 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "nevmes_auth"
|
||||
version = "0.1.0-alpha"
|
||||
version = "0.2.0-alpha"
|
||||
dependencies = [
|
||||
"env_logger",
|
||||
"log 0.4.17",
|
||||
|
@ -1199,7 +1199,7 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "nevmes_core"
|
||||
version = "0.1.0-alpha"
|
||||
version = "0.2.0-alpha"
|
||||
dependencies = [
|
||||
"chrono",
|
||||
"clap",
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "nevmes_auth"
|
||||
version = "0.1.0-alpha"
|
||||
version = "0.2.0-alpha"
|
||||
edition = "2021"
|
||||
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
|
4
nevmes-contact/Cargo.lock
generated
4
nevmes-contact/Cargo.lock
generated
|
@ -1189,7 +1189,7 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "nevmes_contact"
|
||||
version = "0.1.0-alpha"
|
||||
version = "0.2.0-alpha"
|
||||
dependencies = [
|
||||
"env_logger",
|
||||
"log 0.4.17",
|
||||
|
@ -1199,7 +1199,7 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "nevmes_core"
|
||||
version = "0.1.0-alpha"
|
||||
version = "0.2.0-alpha"
|
||||
dependencies = [
|
||||
"chrono",
|
||||
"clap",
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "nevmes_contact"
|
||||
version = "0.1.0-alpha"
|
||||
version = "0.2.0-alpha"
|
||||
edition = "2021"
|
||||
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "nevmes_core"
|
||||
version = "0.1.0-alpha"
|
||||
version = "0.2.0-alpha"
|
||||
edition = "2021"
|
||||
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
|
4
nevmes-gui/Cargo.lock
generated
4
nevmes-gui/Cargo.lock
generated
|
@ -2409,7 +2409,7 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "nevmes_core"
|
||||
version = "0.1.0-alpha"
|
||||
version = "0.2.0-alpha"
|
||||
dependencies = [
|
||||
"chrono",
|
||||
"clap",
|
||||
|
@ -2434,7 +2434,7 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "nevmes_gui"
|
||||
version = "0.1.0-alpha"
|
||||
version = "0.2.0-alpha"
|
||||
dependencies = [
|
||||
"bytemuck",
|
||||
"chrono",
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "nevmes_gui"
|
||||
version = "0.1.0-alpha"
|
||||
version = "0.2.0-alpha"
|
||||
authors = ["emilk", "creating2morrow <creating2morrow@proton.me>"]
|
||||
license = "MIT OR Apache-2.0"
|
||||
edition = "2021"
|
||||
|
|
|
@ -34,5 +34,5 @@ fn main() -> Result<(), eframe::Error> {
|
|||
std::thread::spawn(move || {
|
||||
rt.block_on(async { loop { tokio::time::sleep(Duration::from_secs(3600)).await; } })
|
||||
});
|
||||
eframe::run_native("nevmes-gui-v0.1.0-alpha", options, Box::new(|cc| Box::new(nevmes_gui::WrapApp::new(cc))),)
|
||||
eframe::run_native("nevmes-gui-v0.2.0-alpha", options, Box::new(|cc| Box::new(nevmes_gui::WrapApp::new(cc))),)
|
||||
}
|
||||
|
|
4
nevmes-message/Cargo.lock
generated
4
nevmes-message/Cargo.lock
generated
|
@ -1189,7 +1189,7 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "nevmes_core"
|
||||
version = "0.1.0-alpha"
|
||||
version = "0.2.0-alpha"
|
||||
dependencies = [
|
||||
"chrono",
|
||||
"clap",
|
||||
|
@ -1214,7 +1214,7 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "nevmes_message"
|
||||
version = "0.1.0-alpha"
|
||||
version = "0.2.0-alpha"
|
||||
dependencies = [
|
||||
"env_logger",
|
||||
"log 0.4.17",
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "nevmes_message"
|
||||
version = "0.1.0-alpha"
|
||||
version = "0.2.0-alpha"
|
||||
edition = "2021"
|
||||
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
|
|
@ -3,16 +3,24 @@
|
|||
# Run from the nevmes root
|
||||
# usage: ./scripts/build_release x.x.x-ver
|
||||
|
||||
OUTPUT_DIR=".build/release/nevmes-v$1"
|
||||
mkdir -p $OUTPUT_DIR
|
||||
# Linux x86_64 output directory
|
||||
|
||||
LINUX_X86_64="x86_64-linux-gnu"
|
||||
RELEASE_NAME="nevmes-$LINUX_X86_64-v$1"
|
||||
LINUX_OUTPUT_DIR=".build/release/$RELEASE_NAME"
|
||||
|
||||
mkdir -p $LINUX_OUTPUT_DIR
|
||||
cargo build --release
|
||||
cp target/release/nevmes $OUTPUT_DIR
|
||||
cd nevmes-gui && cargo build --release && cp target/release/nevmes_gui ../$OUTPUT_DIR
|
||||
cp -r assets/ ../$OUTPUT_DIR
|
||||
cp target/release/nevmes $LINUX_OUTPUT_DIR
|
||||
cd nevmes-gui && cargo build --release && cp target/release/nevmes_gui ../$LINUX_OUTPUT_DIR
|
||||
cp -r assets/ ../$LINUX_OUTPUT_DIR
|
||||
cd ../
|
||||
cd nevmes-auth && cargo build --release && cp target/release/nevmes_auth ../$OUTPUT_DIR
|
||||
cd nevmes-auth && cargo build --release && cp target/release/nevmes_auth ../$LINUX_OUTPUT_DIR
|
||||
cd ../
|
||||
cd nevmes-contact && cargo build --release && cp target/release/nevmes_contact ../$OUTPUT_DIR
|
||||
cd nevmes-contact && cargo build --release && cp target/release/nevmes_contact ../$LINUX_OUTPUT_DIR
|
||||
cd ../
|
||||
cd nevmes-message && cargo build --release && cp target/release/nevmes_message ../$OUTPUT_DIR
|
||||
cd nevmes-message && cargo build --release && cp target/release/nevmes_message ../$LINUX_OUTPUT_DIR
|
||||
cd ../
|
||||
# make the bzip for linux
|
||||
tar -cjf $RELEASE_NAME.tar.bz2 $LINUX_OUTPUT_DIR
|
||||
|
||||
|
|
Loading…
Reference in a new issue