Browse Source

Update devfile.yaml

master
Nicolas MASSE 4 years ago
committed by GitHub
parent
commit
11f2ceedfb
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      devfile.yaml

6
devfile.yaml

@ -30,6 +30,12 @@ components:
- value: /tmp/.cache - value: /tmp/.cache
name: GOCACHE name: GOCACHE
commands: commands:
- name: 0. Install pre-requisites
actions:
- workdir: '${CHE_PROJECTS_ROOT}/golang-health-check'
type: exec
command: if [ -f tools.go ]; then go install -v $(go list -f '{{join .Imports " "}}' tools.go; fi
component: go-cli
- name: 1. Build the application - name: 1. Build the application
actions: actions:
- workdir: '${CHE_PROJECTS_ROOT}/golang-health-check' - workdir: '${CHE_PROJECTS_ROOT}/golang-health-check'

Loading…
Cancel
Save