build: extract marketing and simplify releases (#1594)

This commit is contained in:
Hampus authored and GitHub committed 2026-08-14 21:14:13 +02:00
1 parent beb906753f
commit 08566fc244
258 files changed
+940 -26031

No files matched your search

-21
View File
@@ -36,7 +36,6 @@ enum Command {
RustServices(RustServicesArgs),
Cassandra(CassandraArgs),
Desktop(DesktopArgs),
Marketing(MarketingArgs),
MediaProxy(MediaProxyArgs),
Tunnel(TunnelArgs),
}
@@ -136,18 +135,6 @@ enum DesktopCommand {
},
}
#[derive(Debug, Args)]
struct MarketingArgs {
#[command(subcommand)]
command: MarketingCommand,
}
#[derive(Debug, Subcommand)]
enum MarketingCommand {
PreprocessBlogImage(fluxer_dev::marketing::PreprocessBlogImageArgs),
PreprocessBlogVideo(fluxer_dev::marketing::PreprocessBlogVideoArgs),
}
#[derive(Debug, Args)]
struct MediaProxyArgs {
#[command(subcommand)]
@@ -272,14 +259,6 @@ async fn main() -> Result<()> {
fluxer_dev::disclaim::exec_disclaimed(&program, &args)?
}
},
Command::Marketing(args) => match args.command {
MarketingCommand::PreprocessBlogImage(args) => {
fluxer_dev::marketing::preprocess_blog_image(args)?
}
MarketingCommand::PreprocessBlogVideo(args) => {
fluxer_dev::marketing::preprocess_blog_video(args)?
}
},
Command::MediaProxy(args) => match args.command {
MediaProxyCommand::Doctor {
repair,