feat: with cuddle_please
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
parent
24cfb4ef70
commit
a81a26e0cd
@ -2,7 +2,7 @@ use cuddle_ci::cuddle_file::CuddleFile;
|
|||||||
use cuddle_ci::rust_service::architecture::{Architecture, Os};
|
use cuddle_ci::rust_service::architecture::{Architecture, Os};
|
||||||
use cuddle_ci::rust_service::extensions::*;
|
use cuddle_ci::rust_service::extensions::*;
|
||||||
use cuddle_ci::rust_service::RustService;
|
use cuddle_ci::rust_service::RustService;
|
||||||
use cuddle_ci::CuddleCI;
|
use cuddle_ci::{cuddle_please, CuddleCI};
|
||||||
|
|
||||||
#[tokio::main]
|
#[tokio::main]
|
||||||
async fn main() -> eyre::Result<()> {
|
async fn main() -> eyre::Result<()> {
|
||||||
@ -21,9 +21,12 @@ async fn main() -> eyre::Result<()> {
|
|||||||
.with_deployment(false)
|
.with_deployment(false)
|
||||||
.to_owned();
|
.to_owned();
|
||||||
|
|
||||||
|
let cuddle_please = &cuddle_please::CuddlePlease::new(client.clone());
|
||||||
|
|
||||||
CuddleCI::default()
|
CuddleCI::default()
|
||||||
.with_pull_request(service)
|
.with_pull_request(service)
|
||||||
.with_main(service)
|
.with_main(service)
|
||||||
|
.with_main(cuddle_please)
|
||||||
.execute(std::env::args())
|
.execute(std::env::args())
|
||||||
.await?;
|
.await?;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user