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:
parent
b1b57406e7
commit
39f5d1a86d
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
all:
|
||||
@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 ""; \
|
||||
done
|
||||
|
|
Loading…
Reference in New Issue