Make build, check and docs target directory an (optional) argument

Instead of being an option. Feels more natural that way.
This commit is contained in:
KtorZ
2022-12-23 20:23:27 +01:00
parent b1b57406e7
commit 39f5d1a86d
4 changed files with 1 additions and 4 deletions

View File

@@ -4,7 +4,6 @@ use std::path::PathBuf;
/// Build an Aiken project
pub struct Args {
/// Path to project
#[clap(short, long)]
directory: Option<PathBuf>,
/// Also dump textual uplc

View File

@@ -4,7 +4,6 @@ use std::path::PathBuf;
/// Type-check an Aiken project
pub struct Args {
/// Path to project
#[clap(short, long)]
directory: Option<PathBuf>,
/// Skip tests; run only the type-checker

View File

@@ -4,7 +4,6 @@ use std::path::PathBuf;
/// Build an Aiken project
pub struct Args {
/// Path to project
#[clap(short, long)]
directory: Option<PathBuf>,
/// Output directory for the documentation