Skip to content

Commit

Permalink
Merge pull request #2907 from ActiveState/mitchell/dx-2071
Browse files Browse the repository at this point in the history
Use `$script.name.path()` in activestate.yaml files.
  • Loading branch information
mitchell-as authored Nov 29, 2023
2 parents 3388db7 + 6dcbb6f commit c032b40
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions activestate.generators.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,10 @@ scripts:
language: bash
description: Generates all api clients
value: |
$scripts.generate-api-client
$scripts.generate-secrets-client
$scripts.generate-headchef-client
$scripts.generate-inventory-client
$scripts.generate-api-client.path()
$scripts.generate-secrets-client.path()
$scripts.generate-headchef-client.path()
$scripts.generate-inventory-client.path()
- name: generate-locale
language: bash
description: Detects new localisation calls and generates placeholder entries in en-us.yaml
Expand All @@ -70,7 +70,7 @@ scripts:
export GOARCH=${1:-amd64}
$constants.SET_ENV
$scripts.generate-payload
$scripts.generate-payload.path()
echo "# Create update dir"
mkdir -p ./build/update
Expand Down
6 changes: 3 additions & 3 deletions activestate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ scripts:
language: bash
description: Builds the State Tool and runs it with `--help`
value: |
$scripts.build
$scripts.build.path()
build/state --help
- name: debug
language: bash
Expand Down Expand Up @@ -409,8 +409,8 @@ events:
- name: activate
if: ne .Shell "cmd"
value: |
$scripts.install-deps-dev
$scripts.install-deps
$scripts.install-deps-dev.path()
$scripts.install-deps.path()
- name: file-changed
scope: ["internal/locale/locales"]
value: build

0 comments on commit c032b40

Please sign in to comment.