Skip to content

Commit

Permalink
Export parameterized goal parameters by default #162
Browse files Browse the repository at this point in the history
  • Loading branch information
xonixx committed Jan 9, 2024
1 parent b04babf commit bbfd2ec
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/27_parameterized_goals.tush
Original file line number Diff line number Diff line change
Expand Up @@ -254,3 +254,9 @@ $ ./$MAKESURE -f tests/27_parameterized_goals_12_lib.sh a
| goal 'b@hello' ...
| in lib W=hello
| goal 'a' [empty].

$ ./$MAKESURE -f tests/27_parameterized_goals_13_priority.sh a
| goal 'pg@Value' ...
| P=Value
| in child: P=Value
| goal 'a' [empty].
7 changes: 7 additions & 0 deletions tests/27_parameterized_goals_13_priority.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@

@goal pg @params P
echo "P=$P"
sh -c 'echo in child: P=$P'

@goal a
@depends_on pg @args 'Value'

0 comments on commit bbfd2ec

Please sign in to comment.