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
No known key found for this signature in database
GPG Key ID: 33173CB6F77F4277
4 changed files with 1 additions and 4 deletions

View File

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

View File

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

View File

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

View File

@ -1,5 +1,5 @@
all: all:
@for t in $(shell find . -regex ".*[0-9]\{3\}" -type d | sort); do \ @for t in $(shell find . -regex ".*[0-9]\{3\}" -type d | sort); do \
cargo run --quiet -- check -d $${t}; \ cargo run --quiet -- check $${t}; \
echo ""; \ echo ""; \
done done