Skip to content

Commit

Permalink
add working-directory-no-path
Browse files Browse the repository at this point in the history
  • Loading branch information
abhijeetSaroha committed Dec 7, 2023
1 parent 9743a3d commit 881bf43
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .makim.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -245,4 +245,30 @@ groups:
makim --makim-file $MAKIM_FILE group-absolute.target-no-path $VERBOSE_FLAG
makim --makim-file $MAKIM_FILE group-absolute.target-absolute $VERBOSE_FLAG
makim --makim-file $MAKIM_FILE group-absolute.target-relative $VERBOSE_FLAG
working-directory-no-path:
help: Test makim with working-directory for global no-path and its various combinations with group and target working-directory
args:
verbose-mode:
help: Run the all the tests in verbose mode
type: bool
action: store_true
env:
MAKIM_FILE: tests/.makim-working-directory-no-path.yaml
shell: bash
run: |
export VERBOSE_FLAG='{{ "--verbose" if args.verbose_mode else "" }}'
export MAKIM_FILE="$(pwd)/${MAKIM_FILE}"
cd /tmp
makim --makim-file $MAKIM_FILE --help
makim --makim-file $MAKIM_FILE --version
makim --makim-file $MAKIM_FILE group-no-path.target-no-path $VERBOSE_FLAG
makim --makim-file $MAKIM_FILE group-no-path.target-absolute $VERBOSE_FLAG
makim --makim-file $MAKIM_FILE group-no-path.target-relative $VERBOSE_FLAG
makim --makim-file $MAKIM_FILE group-absolute.target-no-path $VERBOSE_FLAG
makim --makim-file $MAKIM_FILE group-absolute.target-absolute $VERBOSE_FLAG
makim --makim-file $MAKIM_FILE group-absolute.target-relative $VERBOSE_FLAG
makim --makim-file $MAKIM_FILE group-relative.target-no-path $VERBOSE_FLAG
makim --makim-file $MAKIM_FILE group-relative.target-absolute $VERBOSE_FLAG
makim --makim-file $MAKIM_FILE group-relative.target-relative $VERBOSE_FLAG

0 comments on commit 881bf43

Please sign in to comment.