Enable gitpod

This commit is contained in:
Eric Neidhardt 2020-06-16 14:42:36 +00:00
parent b6d93248d1
commit cdc58c26cc
4 changed files with 11 additions and 0 deletions

1
.gitignore vendored
View File

@ -1 +1,2 @@
cmd/sleep/sleep.exe
cmd/sleep/sleep

3
.gitpod.yml Normal file
View File

@ -0,0 +1,3 @@
tasks:
- init: go get && go build ./... && go test ./... && make
command: go run

View File

@ -1,3 +1,5 @@
[![Gitpod ready-to-code](https://img.shields.io/badge/Gitpod-ready--to--code-blue?logo=gitpod)](https://gitpod.io/#https://github.com/EricNeid/go-sleep)
# About
Just sleep for windows.

View File

@ -1,5 +1,10 @@
all: test build build-windows
build:
cd cmd/sleep && go build
build-windows:
cd cmd/sleep && GOOS=windows GOARCH=amd64 go build
test:
go test ./...