refactor: keep recordings on an orphan branch
This commit is contained in:
1 parent
d4bd3b4b76
commit
daaad6771f
9 files changed
+80
-13
No files matched your search
@@ -1,3 +1,4 @@
|
||||
mod publish_recordings;
|
||||
mod record_screencasts;
|
||||
mod sync_default_config;
|
||||
mod task_error;
|
||||
@@ -20,6 +21,10 @@ enum Task {
|
||||
screenshots to WebP in recordings/"
|
||||
)]
|
||||
RecordScreencasts(RecordScreencastsOptions),
|
||||
#[command(
|
||||
about = "Replace the recordings branch on origin with a single commit holding recordings/"
|
||||
)]
|
||||
PublishRecordings,
|
||||
#[command(
|
||||
about = "Rewrite the defaults block in docs/configuration.md from `bootvine defaults`"
|
||||
)]
|
||||
@@ -41,6 +46,7 @@ fn main() -> ExitCode {
|
||||
Task::RecordScreencasts(options) => {
|
||||
record_screencasts::record_screencasts(&options.vm_check_outputs)
|
||||
}
|
||||
Task::PublishRecordings => publish_recordings::publish_recordings(),
|
||||
Task::SyncDefaultConfig => sync_default_config::sync_default_config(),
|
||||
};
|
||||
match outcome {
|
||||
|
||||
Reference in new issue
Block a user