-
-
Notifications
You must be signed in to change notification settings - Fork 0
Syntax for options and dependencies #1
Copy link
Copy link
Open
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed
Description
Activity
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra 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$dstdirbefore runningmaid installwould 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
maidinside other tasks, but this is clumsy for non-shell tasks. File dependencies (like traditionalmaketasks) would also be pretty useful (I'm personally tired of usingRakefiles)