mirror of
https://github.com/CompeyDev/lune-packaging.git
synced 2025-01-09 04:09:09 +00:00
chore(crate): action -> setup-lune
This commit is contained in:
parent
877d159cf7
commit
aa688e693b
3 changed files with 23 additions and 28 deletions
42
package/action/Cargo.lock
generated
42
package/action/Cargo.lock
generated
|
@ -2,27 +2,6 @@
|
||||||
# It is not intended for manual editing.
|
# It is not intended for manual editing.
|
||||||
version = 3
|
version = 3
|
||||||
|
|
||||||
[[package]]
|
|
||||||
name = "action"
|
|
||||||
version = "0.1.0"
|
|
||||||
dependencies = [
|
|
||||||
"actions-core",
|
|
||||||
"anyhow",
|
|
||||||
"better-panic",
|
|
||||||
"colored",
|
|
||||||
"directories",
|
|
||||||
"home",
|
|
||||||
"serde",
|
|
||||||
"serde_json",
|
|
||||||
"tracing",
|
|
||||||
"tracing-core",
|
|
||||||
"tracing-subscriber",
|
|
||||||
"tracing-unwrap",
|
|
||||||
"ureq",
|
|
||||||
"url",
|
|
||||||
"zip",
|
|
||||||
]
|
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "actions-core"
|
name = "actions-core"
|
||||||
version = "0.0.2"
|
version = "0.0.2"
|
||||||
|
@ -710,6 +689,27 @@ dependencies = [
|
||||||
"serde",
|
"serde",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "setup-lune"
|
||||||
|
version = "0.1.0"
|
||||||
|
dependencies = [
|
||||||
|
"actions-core",
|
||||||
|
"anyhow",
|
||||||
|
"better-panic",
|
||||||
|
"colored",
|
||||||
|
"directories",
|
||||||
|
"home",
|
||||||
|
"serde",
|
||||||
|
"serde_json",
|
||||||
|
"tracing",
|
||||||
|
"tracing-core",
|
||||||
|
"tracing-subscriber",
|
||||||
|
"tracing-unwrap",
|
||||||
|
"ureq",
|
||||||
|
"url",
|
||||||
|
"zip",
|
||||||
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "sha1"
|
name = "sha1"
|
||||||
version = "0.10.6"
|
version = "0.10.6"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
[package]
|
[package]
|
||||||
name = "action"
|
name = "setup-lune"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
use std::fs::File;
|
use std::fs::File;
|
||||||
|
|
||||||
use action::{
|
use setup_lune::{
|
||||||
download::{download_release, install_lune},
|
download::{download_release, install_lune},
|
||||||
fmt::LogFormatter,
|
fmt::LogFormatter,
|
||||||
};
|
};
|
||||||
|
@ -9,11 +9,6 @@ use tracing::Level;
|
||||||
use tracing_unwrap::ResultExt;
|
use tracing_unwrap::ResultExt;
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
println!(
|
|
||||||
"debug mode: {}",
|
|
||||||
(core::is_debug() || cfg!(debug_assertions))
|
|
||||||
);
|
|
||||||
|
|
||||||
if cfg!(debug_assertions) {
|
if cfg!(debug_assertions) {
|
||||||
better_panic::install();
|
better_panic::install();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue