mirror of
https://github.com/italicsjenga/mppt-modbus.git
synced 2024-12-23 08:41:30 +11:00
generate debian packages - 1.0!
This commit is contained in:
parent
7d76e5ecee
commit
bf69f95240
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1 +1,2 @@
|
|||
/target
|
||||
debs/*.deb
|
2
Cargo.lock
generated
2
Cargo.lock
generated
|
@ -383,7 +383,7 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "mppt-control"
|
||||
version = "0.1.0"
|
||||
version = "1.0.0"
|
||||
dependencies = [
|
||||
"bincode",
|
||||
"clap 3.2.20",
|
||||
|
|
|
@ -1,7 +1,11 @@
|
|||
[package]
|
||||
name = "mppt-control"
|
||||
version = "0.1.0"
|
||||
version = "1.0.0"
|
||||
edition = "2021"
|
||||
description = "Read/write parameters on the Morningstar TriStar using MPPT"
|
||||
license = "GPL 3.0"
|
||||
readme = "README.md"
|
||||
authors = ["Alex Janka <alex@alexjanka.com>"]
|
||||
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
||||
|
|
6
deb_generate.sh
Executable file
6
deb_generate.sh
Executable file
|
@ -0,0 +1,6 @@
|
|||
#!/bin/bash
|
||||
archs=(x86_64-unknown-linux-gnu aarch64-unknown-linux-gnu)
|
||||
for i in "${archs[@]}"
|
||||
do
|
||||
cargo deb --target=$i -o debs
|
||||
done
|
0
debs/.empty
Normal file
0
debs/.empty
Normal file
|
@ -1 +0,0 @@
|
|||
git pull && cargo install --path .
|
|
@ -620,7 +620,7 @@ fn main() {
|
|||
println!("ram: {:#?}", ram_data);
|
||||
}
|
||||
None => {
|
||||
println!("eeprom: {}", eeprom_data);
|
||||
println!("{eeprom_data}");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue