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
|
/// 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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue