Skip to content

Commit

Permalink
feat(devel): make Taskfile app namespace OS specific
Browse files Browse the repository at this point in the history
  • Loading branch information
pmoscode committed Jun 30, 2023
1 parent 47c0905 commit 6245576
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Taskfile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ includes:
helm:
taskfile: dev-assets/tasks/helm.yaml
app:
taskfile: dev-assets/tasks/app.yaml
taskfile: dev-assets/tasks/app_{{OS}}.yaml

tasks:
check-prereqs:
Expand Down
11 changes: 11 additions & 0 deletions dev-assets/tasks/app.yaml → dev-assets/tasks/app_darwin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,14 @@ tasks:
desc: Build the whole app
cmds:
- ./gradlew build -PgithubToken=$GITHUB_TOKEN $SKIP_GRADLE_TASKS_PARAM

get-token:
desc: Obtain a BEARER token from Keycloak to access the MIW API
dir: dev-assets/scripts
vars:
TOKEN:
sh: ./get_Token.sh
silent: true
cmds:
- echo "New Token -> {{.TOKEN}}"
- echo "BAERER {{.TOKEN}}" | pbcopy

0 comments on commit 6245576

Please sign in to comment.