-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #158 from xonixx/glob_plus_pg
Glob plus pg
- Loading branch information
Showing
10 changed files
with
257 additions
and
17 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
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,24 @@ | ||
|
||
```shell | ||
@goal gpg @glob 'glob_test/*.txt' @params P | ||
echo "$ITEM $P" | ||
|
||
@goal g1 | ||
@depends_on gpg @args 'hello' | ||
``` | ||
|
||
-> | ||
|
||
```shell | ||
@goal gpg @params P | ||
@depends_on 'gpg@glob_test/1.txt' @args P | ||
@depends_on 'gpg@glob_test/2.txt' @args P | ||
|
||
@goal 'gpg@glob_test/1.txt' @params P | ||
echo "$ITEM $P" | ||
@goal 'gpg@glob_test/2.txt' @params P | ||
echo "$ITEM $P" | ||
|
||
@goal g1 | ||
@depends_on gpg @args 'hello' | ||
``` |
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
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
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,150 @@ | ||
|
||
$ ./$MAKESURE -f tests/29_glob_plus_pg_1.sh -l | ||
| Available goals: | ||
| g1 | ||
| g2 | ||
| g3 | ||
| gpg@hello | ||
| gpg@hi | ||
| g3pg@salut | ||
| gpg@salut | ||
|
||
$ ./$MAKESURE -f tests/29_glob_plus_pg_1.sh -la | ||
| Available goals: | ||
| g1 | ||
| g2 | ||
| g3 | ||
| gpg@hello | ||
| gpg@glob_test/1.txt@hello | ||
| gpg@glob_test/2.txt@hello | ||
| gpg@hi | ||
| gpg@glob_test/1.txt@hi | ||
| gpg@glob_test/2.txt@hi | ||
| g3pg@salut | ||
| gpg@salut | ||
| gpg@glob_test/1.txt@salut | ||
| gpg@glob_test/2.txt@salut | ||
|
||
$ ./$MAKESURE -f tests/29_glob_plus_pg_1.sh g1 | ||
| goal 'gpg@glob_test/1.txt@hello' ... | ||
| glob_test/1.txt hello | ||
| goal 'gpg@glob_test/2.txt@hello' ... | ||
| glob_test/2.txt hello | ||
| goal 'gpg@hello' [empty]. | ||
| goal 'g1' [empty]. | ||
|
||
$ ./$MAKESURE -f tests/29_glob_plus_pg_1.sh g2 | ||
| goal 'gpg@glob_test/1.txt@hello' ... | ||
| glob_test/1.txt hello | ||
| goal 'gpg@glob_test/2.txt@hello' ... | ||
| glob_test/2.txt hello | ||
| goal 'gpg@hello' [empty]. | ||
| goal 'gpg@glob_test/1.txt@hi' ... | ||
| glob_test/1.txt hi | ||
| goal 'gpg@glob_test/2.txt@hi' ... | ||
| glob_test/2.txt hi | ||
| goal 'gpg@hi' [empty]. | ||
| goal 'g2' [empty]. | ||
|
||
$ ./$MAKESURE -f tests/29_glob_plus_pg_1.sh g3 | ||
| goal 'gpg@glob_test/1.txt@salut' ... | ||
| glob_test/1.txt salut | ||
| goal 'gpg@glob_test/2.txt@salut' ... | ||
| glob_test/2.txt salut | ||
| goal 'gpg@salut' [empty]. | ||
| goal 'g3pg@salut' [empty]. | ||
| goal 'g3' [empty]. | ||
|
||
$ ./$MAKESURE -f tests/29_glob_plus_pg_2.sh -l | ||
| Available goals: | ||
| g1 | ||
| g2 | ||
| g3 | ||
| 'glob_test/*.txt@hello' | ||
| 'glob_test/*.txt@hi' | ||
| g3pg@salut | ||
| 'glob_test/*.txt@salut' | ||
|
||
$ ./$MAKESURE -f tests/29_glob_plus_pg_2.sh -la | ||
| Available goals: | ||
| g1 | ||
| g2 | ||
| g3 | ||
| 'glob_test/*.txt@hello' | ||
| glob_test/1.txt@hello | ||
| glob_test/2.txt@hello | ||
| 'glob_test/*.txt@hi' | ||
| glob_test/1.txt@hi | ||
| glob_test/2.txt@hi | ||
| g3pg@salut | ||
| 'glob_test/*.txt@salut' | ||
| glob_test/1.txt@salut | ||
| glob_test/2.txt@salut | ||
|
||
$ ./$MAKESURE -f tests/29_glob_plus_pg_2.sh g1 | ||
| goal 'glob_test/1.txt@hello' ... | ||
| glob_test/1.txt hello | ||
| goal 'glob_test/2.txt@hello' ... | ||
| glob_test/2.txt hello | ||
| goal 'glob_test/*.txt@hello' [empty]. | ||
| goal 'g1' [empty]. | ||
|
||
$ ./$MAKESURE -f tests/29_glob_plus_pg_2.sh g2 | ||
| goal 'glob_test/1.txt@hello' ... | ||
| glob_test/1.txt hello | ||
| goal 'glob_test/2.txt@hello' ... | ||
| glob_test/2.txt hello | ||
| goal 'glob_test/*.txt@hello' [empty]. | ||
| goal 'glob_test/1.txt@hi' ... | ||
| glob_test/1.txt hi | ||
| goal 'glob_test/2.txt@hi' ... | ||
| glob_test/2.txt hi | ||
| goal 'glob_test/*.txt@hi' [empty]. | ||
| goal 'g2' [empty]. | ||
|
||
$ ./$MAKESURE -f tests/29_glob_plus_pg_2.sh g3 | ||
| goal 'glob_test/1.txt@salut' ... | ||
| glob_test/1.txt salut | ||
| goal 'glob_test/2.txt@salut' ... | ||
| glob_test/2.txt salut | ||
| goal 'glob_test/*.txt@salut' [empty]. | ||
| goal 'g3pg@salut' [empty]. | ||
| goal 'g3' [empty]. | ||
|
||
$ ./$MAKESURE -f tests/29_glob_plus_pg_3.sh -l | ||
| Available goals: | ||
| g1 | ||
| g2 | ||
| g3 | ||
| glob_test/1.txt@hello | ||
| glob_test/1.txt@hi | ||
| g3pg@salut | ||
| glob_test/1.txt@salut | ||
|
||
$ ./$MAKESURE -f tests/29_glob_plus_pg_3.sh -la | ||
| Available goals: | ||
| g1 | ||
| g2 | ||
| g3 | ||
| glob_test/1.txt@hello | ||
| glob_test/1.txt@hi | ||
| g3pg@salut | ||
| glob_test/1.txt@salut | ||
|
||
$ ./$MAKESURE -f tests/29_glob_plus_pg_3.sh g1 | ||
| goal 'glob_test/1.txt@hello' ... | ||
| glob_test/1.txt hello | ||
| goal 'g1' [empty]. | ||
|
||
$ ./$MAKESURE -f tests/29_glob_plus_pg_3.sh g2 | ||
| goal 'glob_test/1.txt@hello' ... | ||
| glob_test/1.txt hello | ||
| goal 'glob_test/1.txt@hi' ... | ||
| glob_test/1.txt hi | ||
| goal 'g2' [empty]. | ||
|
||
$ ./$MAKESURE -f tests/29_glob_plus_pg_3.sh g3 | ||
| goal 'glob_test/1.txt@salut' ... | ||
| glob_test/1.txt salut | ||
| goal 'g3pg@salut' [empty]. | ||
| goal 'g3' [empty]. |
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,16 @@ | ||
|
||
@goal gpg @glob 'glob_test/*.txt' @params P | ||
echo "$ITEM $P" | ||
|
||
@goal g1 | ||
@depends_on gpg @args 'hello' | ||
|
||
@goal g2 | ||
@depends_on gpg @args 'hello' | ||
@depends_on gpg @args 'hi' | ||
|
||
@goal g3 | ||
@depends_on g3pg @args 'salut' | ||
|
||
@goal g3pg @params X | ||
@depends_on gpg @args X |
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,16 @@ | ||
|
||
@goal @glob 'glob_test/*.txt' @params P | ||
echo "$ITEM $P" | ||
|
||
@goal g1 | ||
@depends_on 'glob_test/*.txt' @args 'hello' | ||
|
||
@goal g2 | ||
@depends_on 'glob_test/*.txt' @args 'hello' | ||
@depends_on 'glob_test/*.txt' @args 'hi' | ||
|
||
@goal g3 | ||
@depends_on g3pg @args 'salut' | ||
|
||
@goal g3pg @params X | ||
@depends_on 'glob_test/*.txt' @args X |
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,16 @@ | ||
|
||
@goal @glob 'glob_test/1.txt' @params P | ||
echo "$ITEM $P" | ||
|
||
@goal g1 | ||
@depends_on 'glob_test/1.txt' @args 'hello' | ||
|
||
@goal g2 | ||
@depends_on 'glob_test/1.txt' @args 'hello' | ||
@depends_on 'glob_test/1.txt' @args 'hi' | ||
|
||
@goal g3 | ||
@depends_on g3pg @args 'salut' | ||
|
||
@goal g3pg @params X | ||
@depends_on 'glob_test/1.txt' @args X |
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 @@ | ||
111 |
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 @@ | ||
222 |