Skip to content
imjoezPublic

About

golang online compiler (http://gobuild.io)

Resources

Stars

0 stars

Watchers

1 watching

Forks

 
 

Repository files navigation

Build Status Go Walker Gobuild Download

Thanks very much for you guys stars which encourage me to rewrite this website to gobuild2. Thanks very much. Thanks open source.

Go build + pacakge + distributions

There are a lot of golang open souce project, sometime we want to share code, sometimes we want to share binary file to friends. But few website offers golang binary shares. So I created one.

How to use

wget gobuild.io/github.com/shxsun/fswatch/v1.0/linux/amd64 -O fswatch.zip

-- unfinished -- wget gobuild.io/linux/amd64/v1.0/github.com/shxsun/fswatch/fswatch.zip

.gobuild.yml

use .gobuild.yml file, you can use more function with https://gobuild.io.

first you need to add a file .gobuild.yml into project root.

For beego project: (platform will will invode bee pack -f zip)

framework: beego

For revel project: (revel package)

framework: revel

For self define which file should be packaged.(excludes is not working now). And binary file is defaulted added, you don't need to worry about it.

filesets:
	includes:
		- static
		- LICENSE
		- README.md
	excludes:
		- CHANGELOG

There is a default for every project: see default gobuildrc

other build tool support

support gopm.

Test is .gopmfile exists in project root, then use alias go=gopm instead.

add badge

Gobuild Download

assume you project address is github.com/shxsun/gobuild

and the png address is: http://gobuild.io/badge/github.com/shxsun/gobuild/download.png

Markdown link is link below

[![Gobuild Download](http://gobuild.io/badge/github.com/shxsun/gobuild/download.png)](http://gobuild.io/github.com/shxsun/gobuild)

For developers

Prepare dependencies

go get -d github.com/shxsun/gobuild
# cd github.com/shxsun/gobuild
bin/install.sh
# config file: config.yaml
./gobuild

2 example project, which contains .gobuild

  • github.com/shxsun/gobuild-beegotest
  • github.com/shxsun/gobuild-reveltest

related package

Q/A(knownen issues)

not support os/user

golang's cross compile not support CGO, but package os/user use CGO.

solutions: use environment variables to get use-name http://stackoverflow.com/questions/7922270/obtain-users-home-directory

Contributers

About

golang online compiler (http://gobuild.io)

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

⌂ 换网址