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::*};
|
||||
pub async fn publish(cfg: &Config) -> Result<()> {
|
||||
pub async fn publish(_cfg: &Config) -> Result<()> {
|
||||
todo!()
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
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: version bump
|
||||
// TODO: version select interactive
|
||||
|
|
|
@ -1,15 +1,12 @@
|
|||
use async_trait::async_trait;
|
||||
|
||||
use super::ServerApi;
|
||||
use crate::{
|
||||
config::{ApiType, Config},
|
||||
error::*,
|
||||
};
|
||||
use crate::{config::Config, error::*};
|
||||
pub struct Gitea;
|
||||
|
||||
#[async_trait]
|
||||
impl ServerApi for Gitea {
|
||||
async fn init(&mut self, cfg: &Config) -> Result<()> {
|
||||
async fn init(&mut self, _cfg: &Config) -> Result<()> {
|
||||
todo!()
|
||||
}
|
||||
async fn push_release(&mut self) -> Result<()> {
|
||||
|
@ -18,7 +15,7 @@ impl ServerApi for Gitea {
|
|||
}
|
||||
|
||||
impl Gitea {
|
||||
pub async fn build(cfg: &Config) -> Result<Self> {
|
||||
pub async fn build(_cfg: &Config) -> Result<Self> {
|
||||
todo!()
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,15 +1,12 @@
|
|||
use async_trait::async_trait;
|
||||
|
||||
use super::ServerApi;
|
||||
use crate::{
|
||||
config::{ApiType, Config},
|
||||
error::*,
|
||||
};
|
||||
use crate::{config::Config, error::*};
|
||||
pub struct Github;
|
||||
|
||||
#[async_trait]
|
||||
impl ServerApi for Github {
|
||||
async fn init(&mut self, cfg: &Config) -> Result<()> {
|
||||
async fn init(&mut self, _cfg: &Config) -> Result<()> {
|
||||
todo!()
|
||||
}
|
||||
async fn push_release(&mut self) -> Result<()> {
|
||||
|
@ -18,7 +15,7 @@ impl ServerApi for Github {
|
|||
}
|
||||
|
||||
impl Github {
|
||||
pub async fn build(cfg: &Config) -> Result<Self> {
|
||||
pub async fn build(_cfg: &Config) -> Result<Self> {
|
||||
todo!()
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,15 +1,12 @@
|
|||
use async_trait::async_trait;
|
||||
|
||||
use super::ServerApi;
|
||||
use crate::{
|
||||
config::{ApiType, Config},
|
||||
error::*,
|
||||
};
|
||||
use crate::{config::Config, error::*};
|
||||
pub struct Gitlab;
|
||||
|
||||
#[async_trait]
|
||||
impl ServerApi for Gitlab {
|
||||
async fn init(&mut self, cfg: &Config) -> Result<()> {
|
||||
async fn init(&mut self, _cfg: &Config) -> Result<()> {
|
||||
todo!()
|
||||
}
|
||||
async fn push_release(&mut self) -> Result<()> {
|
||||
|
@ -18,7 +15,7 @@ impl ServerApi for Gitlab {
|
|||
}
|
||||
|
||||
impl Gitlab {
|
||||
pub async fn build(cfg: &Config) -> Result<Self> {
|
||||
pub async fn build(_cfg: &Config) -> Result<Self> {
|
||||
todo!()
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue