Syntax for options and dependencies #1
Labels
enhancement
New feature or request
good first issue
Good for newcomers
help wanted
Extra attention is needed
Currently passing options via environment variables works, but it's not exactly the nicest thing
As a main goal, the syntax should be immediately obvious to someone who doesn't use maid, and I also would like it to not have english words (e.g. like
Run task ... before this
). This is probably the point where this'll be different than the original repo, plus alternatives like maskSyntax for options
I propose this:
It already kind of works, since the shell is run with
-eu
, not setting$dstdir
before runningmaid install
would crash. However it'd be nice if this was detected, and you could simply runmaid install somedir
(ormaid install dstdir=somedir
)Syntax for dependencies
Not really sure. You can already simply run
maid
inside other tasks, but this is clumsy for non-shell tasks. File dependencies (like traditionalmake
tasks) would also be pretty useful (I'm personally tired of usingRakefile
s)The text was updated successfully, but these errors were encountered: