GithubHelp home page GithubHelp logo

codeskyblue / gobuild Goto Github PK

View Code? Open in Web Editor NEW
201.0 13.0 18.0 1.34 MB

not maintained, moved to https://github.com/gobuild/gobuild

License: GNU General Public License v2.0

Go 40.54% Shell 3.47% CSS 18.05% JavaScript 37.94%

gobuild's Introduction


Build Status Go Walker Gobuild Download

gobuild2 beta was released.

QQ Group: 368327021

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

Go build + package + 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/codeskyblue/fswatch/v1.0/linux/amd64 -O fswatch.zip

-- unfinished -- wget gobuild.io/linux/amd64/v1.0/github.com/codeskyblue/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/codeskyblue/gobuild

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

Markdown link is link below

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

For developers

Prepare dependencies

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

2 example project, which contains .gobuild

  • github.com/codeskyblue/gobuild-beegotest
  • github.com/codeskyblue/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

gobuild's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

gobuild's Issues

API支持

作为持续集成的一部分,提供API可以让企业通过简单编程完成多个软件间的合作,从而完成整个生命周期。

Building a nonexistent repo fails, corrupts that repo indefinitely

Hi there! I just uploaded a new go util at https://github.com/dpritchett/endless . While writing the README but before the initial deploy I mocked up a gobuild.io URL and loaded it. That failed of course since I hadn't uploaded the code yet. Now that the code is in place gobuild still chokes when I try to load it.

Thanks for the cool service!

Also, do you have any security advisory that I can pass along to potential downloaders? The idea of live builds from an unknown source is kinda weird trust-wise, even if the convenience is undeniable.

七牛云储存的缓存bug

gobuild立即编译的文件同步到七牛云后,七牛云没有立即分发到各个节点。
所以下载的时候访问七牛云会返回408超时错误。

添加badge显示

add badge like this [gobuild.io | downloads 7]
counting download times

termbox本地跨平台编译正常,但是使用gobuild编译的windows版异常

我自己做了个小程序,使用termbox-go作为一个组件。我在自己的ubuntu上跨平台编译的exe可以正常运行,但是使用gobuild编译下载的文件不能正常运行,会抛出异常。
因此我觉得可能是[gobuild]或者平台的问题,其中有可能是平台的termbox版本不够新的原因,纯瞎猜测。

由于windows下面复制不了终端输出,我暂不提供全部的异常内容了,如果需要我再补上。
termbox-go没有使用cgo,也没有使用os/user。当然我也没有使用他们。

这个是下载文件的地址,选的是windows 。
http://gobuild.io/download/github.com/wangwenbin/2048-go
linux的正常工作,osx的没有测试。
出错会在游戏2048失败或者成功的时候。我不知道为什么,可能也就是输出“Win”或者“Lose”的时候。

这个bug也可能是我的代码的原因,但是目前我还没有找到问题。我如果找到更简单重现bug的代码,我会补上。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.