-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Alexander Kluth <[email protected]>
- Loading branch information
Alexander Kluth
committed
Jul 30, 2019
1 parent
5ab9b99
commit 8a6b1ab
Showing
1 changed file
with
42 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
## do - do ist, just, just...do it. | ||
|
||
### What is this? | ||
|
||
This is nothing more, nothing less than a simple and stupid command-processor, | ||
task executer, /just-execute-shell-commands-in-order-grouped-by-tasks-thingy or | ||
whatever you like to call it. | ||
|
||
No logo, no code coverage, no 'backers', just some Go code hacked together in around | ||
an hour to avoid using Makefiles and make anymore and all of the alternatives out there. | ||
|
||
It does the job for me and maybe it does it for you. | ||
|
||
|
||
### Usage | ||
|
||
Dofile: | ||
|
||
description = "Very important tasks" | ||
|
||
[tasks] | ||
|
||
[tasks.build] | ||
commands = [ | ||
"my-super-cool-build-tool --with-options AndArguments" | ||
] | ||
|
||
[tasks.clean] | ||
commands = [ | ||
"rm -rf /", | ||
"echo 'That wasn't so smart, wasn't it?'" | ||
] | ||
|
||
Then simply type | ||
|
||
$ do build | ||
$ do clean | ||
$ do build clean | ||
|
||
to execute those super-important tasks. | ||
|
||
|