generated from PlexSheep/rs-base
automatic cargo CI changes
This commit is contained in:
parent
acc5381dd1
commit
0abcdff5af
|
@ -1,4 +1,4 @@
|
||||||
use crate::{config::Config, error::*};
|
use crate::{config::Config, error::*};
|
||||||
pub async fn publish(cfg: &Config) -> Result<()> {
|
pub async fn publish(_cfg: &Config) -> Result<()> {
|
||||||
todo!()
|
todo!()
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
use crate::{config::Config, error::*, serverapi::ApiCollection};
|
use crate::{config::Config, error::*, serverapi::ApiCollection};
|
||||||
|
|
||||||
pub async fn release(cfg: &Config, apis: &mut ApiCollection) -> Result<()> {
|
pub async fn release(_cfg: &Config, _apis: &mut ApiCollection) -> Result<()> {
|
||||||
// TODO: git tag
|
// TODO: git tag
|
||||||
// TODO: version bump
|
// TODO: version bump
|
||||||
// TODO: version select interactive
|
// TODO: version select interactive
|
||||||
|
|
|
@ -1,15 +1,12 @@
|
||||||
use async_trait::async_trait;
|
use async_trait::async_trait;
|
||||||
|
|
||||||
use super::ServerApi;
|
use super::ServerApi;
|
||||||
use crate::{
|
use crate::{config::Config, error::*};
|
||||||
config::{ApiType, Config},
|
|
||||||
error::*,
|
|
||||||
};
|
|
||||||
pub struct Gitea;
|
pub struct Gitea;
|
||||||
|
|
||||||
#[async_trait]
|
#[async_trait]
|
||||||
impl ServerApi for Gitea {
|
impl ServerApi for Gitea {
|
||||||
async fn init(&mut self, cfg: &Config) -> Result<()> {
|
async fn init(&mut self, _cfg: &Config) -> Result<()> {
|
||||||
todo!()
|
todo!()
|
||||||
}
|
}
|
||||||
async fn push_release(&mut self) -> Result<()> {
|
async fn push_release(&mut self) -> Result<()> {
|
||||||
|
@ -18,7 +15,7 @@ impl ServerApi for Gitea {
|
||||||
}
|
}
|
||||||
|
|
||||||
impl Gitea {
|
impl Gitea {
|
||||||
pub async fn build(cfg: &Config) -> Result<Self> {
|
pub async fn build(_cfg: &Config) -> Result<Self> {
|
||||||
todo!()
|
todo!()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,15 +1,12 @@
|
||||||
use async_trait::async_trait;
|
use async_trait::async_trait;
|
||||||
|
|
||||||
use super::ServerApi;
|
use super::ServerApi;
|
||||||
use crate::{
|
use crate::{config::Config, error::*};
|
||||||
config::{ApiType, Config},
|
|
||||||
error::*,
|
|
||||||
};
|
|
||||||
pub struct Github;
|
pub struct Github;
|
||||||
|
|
||||||
#[async_trait]
|
#[async_trait]
|
||||||
impl ServerApi for Github {
|
impl ServerApi for Github {
|
||||||
async fn init(&mut self, cfg: &Config) -> Result<()> {
|
async fn init(&mut self, _cfg: &Config) -> Result<()> {
|
||||||
todo!()
|
todo!()
|
||||||
}
|
}
|
||||||
async fn push_release(&mut self) -> Result<()> {
|
async fn push_release(&mut self) -> Result<()> {
|
||||||
|
@ -18,7 +15,7 @@ impl ServerApi for Github {
|
||||||
}
|
}
|
||||||
|
|
||||||
impl Github {
|
impl Github {
|
||||||
pub async fn build(cfg: &Config) -> Result<Self> {
|
pub async fn build(_cfg: &Config) -> Result<Self> {
|
||||||
todo!()
|
todo!()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,15 +1,12 @@
|
||||||
use async_trait::async_trait;
|
use async_trait::async_trait;
|
||||||
|
|
||||||
use super::ServerApi;
|
use super::ServerApi;
|
||||||
use crate::{
|
use crate::{config::Config, error::*};
|
||||||
config::{ApiType, Config},
|
|
||||||
error::*,
|
|
||||||
};
|
|
||||||
pub struct Gitlab;
|
pub struct Gitlab;
|
||||||
|
|
||||||
#[async_trait]
|
#[async_trait]
|
||||||
impl ServerApi for Gitlab {
|
impl ServerApi for Gitlab {
|
||||||
async fn init(&mut self, cfg: &Config) -> Result<()> {
|
async fn init(&mut self, _cfg: &Config) -> Result<()> {
|
||||||
todo!()
|
todo!()
|
||||||
}
|
}
|
||||||
async fn push_release(&mut self) -> Result<()> {
|
async fn push_release(&mut self) -> Result<()> {
|
||||||
|
@ -18,7 +15,7 @@ impl ServerApi for Gitlab {
|
||||||
}
|
}
|
||||||
|
|
||||||
impl Gitlab {
|
impl Gitlab {
|
||||||
pub async fn build(cfg: &Config) -> Result<Self> {
|
pub async fn build(_cfg: &Config) -> Result<Self> {
|
||||||
todo!()
|
todo!()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue