grim/convey
Clone
Summary
Browse
Changes
Graph
add a Destroy function to fs.Directory
2020-05-27, Gary Kramlich
7f4709517632
add a Destroy function to fs.Directory
---
required-version
:
0.14.0-dev
environment
:
-
CONVEY_VERSION=0.14.0-dev
-
GO_IMAGE=golang:1.14-buster
tasks
:
# tasks for the default plan
import
:
type
:
convey/import
files
:
-
.:.
export
:
type
:
convey/export
files
:
-
convey-${CONVEY_VERSION}-darwin-amd64
-
convey-${CONVEY_VERSION}-freebsd-amd64
-
convey-${CONVEY_VERSION}-linux-amd64
-
convey-${CONVEY_VERSION}-windows-amd64.exe
clean
:
type
:
convey/clean
files
:
-
convey-*
go-test
:
type
:
docker/run
image
:
${GO_IMAGE}
workdir
:
${CONVEY_WORKSPACE}
command
:
go test ./...
build
:
type
:
docker/run
image
:
${GO_IMAGE}
environment
:
-
GOARCH=amd64
workdir
:
${CONVEY_WORKSPACE}
command
:
go build -o convey-${CONVEY_VERSION}-${GOOS}-${GOARCH}${SUFFIX}
build-linux
:
type
:
convey/subtask
base
:
build
environment
:
-
CGO_ENABLED=0
-
GOOS=linux
-
SUFFIX=
build-windows
:
type
:
convey/subtask
base
:
build
environment
:
-
GOOS=windows
-
SUFFIX=.exe
build-darwin
:
type
:
convey/subtask
base
:
build
environment
:
-
GOOS=darwin
-
SUFFIX=
build-freebsd
:
type
:
convey/subtask
base
:
build
environment
:
-
GOOS=freebsd
-
SUFFIX=
plans
:
default
:
stages
:
-
name
:
import-source
tasks
:
-
import
-
name
:
testing
tasks
:
-
go-test
-
name
:
build
concurrent
:
true
tasks
:
-
build-darwin
-
build-freebsd
-
build-linux
-
build-windows
-
name
:
export
tasks
:
-
export
clean
:
stages
:
-
tasks
:
clean
meta-plans
:
everything
:
plans
:
-
default