Update build script
This commit is contained in:
parent
945c5428ac
commit
e789c87372
2 changed files with 1 additions and 2 deletions
1
build.sh
1
build.sh
|
@ -3,6 +3,7 @@ rustup update
|
||||||
|
|
||||||
git pull
|
git pull
|
||||||
|
|
||||||
|
cargo update
|
||||||
cargo build --release
|
cargo build --release
|
||||||
|
|
||||||
mkdir -p server
|
mkdir -p server
|
||||||
|
|
|
@ -41,8 +41,6 @@ async fn main() -> Result<()> {
|
||||||
.lock()
|
.lock()
|
||||||
.unwrap()
|
.unwrap()
|
||||||
.write(plug.name(), since_epoch()?, usage)?;
|
.write(plug.name(), since_epoch()?, usage)?;
|
||||||
|
|
||||||
println!("{} uses {usage} W", plug.name());
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Ok::<(), anyhow::Error>(())
|
Ok::<(), anyhow::Error>(())
|
||||||
|
|
Loading…
Reference in a new issue