From fea971fca64fdb970b4d5f119d4931bc2bef9ede Mon Sep 17 00:00:00 2001 From: Nicolas MASSE Date: Mon, 7 Feb 2022 15:02:18 +0100 Subject: [PATCH] Update devfile.yaml --- devfile.yaml | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/devfile.yaml b/devfile.yaml index 7954ad8..9bcad8d 100644 --- a/devfile.yaml +++ b/devfile.yaml @@ -30,17 +30,11 @@ components: - value: /tmp/.cache name: GOCACHE 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 actions: - workdir: '${CHE_PROJECTS_ROOT}/golang-health-check' type: exec - command: go build + command: echo "Pre-requisites..." ; if [ -f tools.go ]; then go install -v $(go list -f '{{join .Imports " "}}' tools.go); fi; echo "Code generation..."; go generate ./... ; echo "Compilation..." ; go build component: go-cli - name: 2. Run the application actions: