tinygo-docker

command module
v0.0.0-...-daac2fa Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 4, 2020 License: MIT Imports: 7 Imported by: 0

README

tinygo-docker

tinygo-docker is helper for tinygo command with docker.

Description

When executed as below,

tinygo-docker build -o app.uf2 -target pyportal .

you can get the same result as below.

docker run -it --rm \
-v $GOPATH/src/github.com/group/repo:/go/src/github.com/group/repo \
-w /go/src/github.com/group/repo \
-e GOPATH=/go \
tinygo/tinygo \
tinygo build -o app.uf2 -target pyportal .

Demo

Usage

Use tinygo-docker instead of tinygo.

$ cd path/to/your/project
$ tinygo-docker build -o app.uf2 -target pyportal .

You can specify docker image / tag.

$ tinygo-docker --docker-image tinygo/tinygo-dev build -o app.uf2 -target pyportal .

Installation

go get github.com/sago35/tinygo-docker
Environment
  • Go 1.13
  • Docker

Author

sago35 - [email protected]

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL