Граф коммитов

44 Коммитов

Автор SHA1 Сообщение Дата
Owen Ou c8ffd06ec3 Build Hub in a temporary dir for cukes
We need to run the packaging script for every platform using a Vagrant box. During the packaging step, cukes are run. However, the workspace is shared between host and the Vagrant box. Instead of cleaning up the built binary for each platform, build it into a temporary dir.
2014-10-15 16:18:28 -07:00
Owen Ou 43e1abcb72 Use `IO.popen` to execute command 2014-10-15 15:33:14 -07:00
Owen Ou 9fc5f2ad72 Check Process.exitstatus since Process.existed? is always true 2014-10-15 13:05:22 -07:00
Owen Ou 9e88c9c377 Run bootstrap script before test 2014-10-14 08:56:57 -07:00
Owen Ou e61fb24970 Run tests as part of the packaging process 2014-10-14 08:39:04 -07:00
Owen Ou df0c90f3c7 Add version to build artifact 2014-10-14 08:32:06 -07:00
Jingwen Owen Ou 69660ca452 Clean up package script
* Prefer Ruby script to `gotask` script for packaging task
* Clean up Vagrant file
* Prefer `gox` to `goxc`
2014-10-13 23:58:52 -07:00
Jingwen Owen Ou cc816c9df8 Provide option to build `hub` without autoupdate 2014-09-20 10:15:42 -07:00
Mislav Marohnić 24add1e38a Merge remote-tracking branch 'origin/master' into master-to-gh 2014-04-11 18:05:59 +02:00
Mislav Marohnić 0bf12119ea Update package name in script/godep 2014-04-11 15:40:25 +02:00
Jingwen Owen Ou 2f2f841df5 No more @wip in cukes 2014-04-10 16:51:18 -07:00
Jingwen Owen Ou 21b8711772 Extract out script/godep for running any Go command 2014-02-21 08:12:11 -08:00
Mislav Marohnić 8007439bf2 Skip caching dependencies if Amazon secret is unavailable
Fixes CI in forked environment and enables usage of `cached-bundle`
script to just restore caches from S3 but never attempt to write them.
2014-02-12 14:10:13 +01:00
Mislav Marohnić 38db23dd62 Improve bootstrap, build and test scripts
Old `script/bootstrap` & `script/build` were unfriendly to Go newbies
because they require the user having GOPATH set in their environment,
and either `godep` installed or `hg` to be able to fetch godep.

However, since dependencies are vendored, we don't have any real build
dependencies except Go itself.

- `script/bootstrap` now checks Go and installs Ruby test bundle
- `script/build` skips compiling if binary is up to date
- `script/test` runs both Go and Cucumber test suites
2014-02-07 12:44:56 +01:00
Mislav Marohnić 13fe9ec2e7 Merge branch 'gh-history' into gh
Conflicts:
	.gitignore
	.travis.yml
	Gemfile
	Gemfile.lock
	script/test
2014-02-02 19:49:50 +01:00
Jingwen Owen Ou 9b2d896a97 Add -t to mktemp in script/make 2014-01-13 10:02:23 -08:00
David Calavera 528ff8d4d2 Do not try to download the git completion script. 2014-01-10 14:20:31 +01:00
David Calavera 9a1e07057b Install git's completion. 2014-01-10 12:22:31 +01:00
Jingwen Owen Ou c5daf0afd1 Merge branch 'master' into enable_bash_completion_test 2014-01-09 22:40:40 -08:00
Jingwen Owen Ou d0eeb375bc Add comments to scripts 2014-01-07 14:22:14 -08:00
Jingwen Owen Ou e385ccee0d Add script/make for homebrew build 2014-01-07 14:21:50 -08:00
Jingwen Owen Ou 16545d5c16 Rename script/release to script/package 2014-01-07 08:44:34 -08:00
Jingwen Owen Ou a9027afcd2 Use `gotask package` in script/release 2014-01-07 07:56:25 -08:00
Jingwen Owen Ou d7ea284e4a Explicitly build to gh 2014-01-02 17:14:00 -08:00
Jingwen Owen Ou 4daf45dd62 Update README to install/update from source
We lock down dependencies with Godep so `go build` won't work
2014-01-01 11:18:24 -08:00
Jingwen Owen Ou 91a5d17110 Ignore wip tests 2013-12-30 23:37:33 -08:00
Jingwen Owen Ou 0fb53d5cc4 try to use script/ruby-test 2013-12-30 23:34:14 -08:00
Jingwen Owen Ou 8471f1600a Move release dependency to script/release 2013-12-30 22:04:20 -08:00
Jingwen Owen Ou 334a5ae179 Move goxc to bootstrap script 2013-12-17 14:30:13 -08:00
Mislav Marohnić aadc8418d9 Add more docs to dependencies-caching scripts
[ci skip]
2013-12-10 13:29:04 +01:00
Mislav Marohnić e4641544de Cache bundle results on Travis to S3
Hopefully speeds up builds
2013-12-07 15:40:31 +01:00
Jingwen Owen Ou 651a1fa3b3 Use go build without all pacakges 2013-12-02 06:33:24 -08:00
Jingwen Owen Ou 0210d4c638 Upgrade to Go 1.2 2013-12-01 22:03:20 -08:00
Jingwen Owen Ou a79dd3cb4e Fix travis path 2013-11-14 08:50:43 -08:00
Jingwen Owen Ou 597c48afa3 Add bash debug 2013-11-14 08:46:34 -08:00
Jingwen Owen Ou a98278ac15 Update scripts to point to godep 2013-11-14 08:39:25 -08:00
Mislav Marohnić 755d5aa06d Detect tmux and run shell completion tests 2013-11-14 16:05:56 +01:00
Jingwen Owen Ou d718f3be0c Rename to cross-compile 2013-10-23 15:20:47 -07:00
Jingwen Owen Ou 2e2b21bb40 Rename task to release 2013-10-23 15:09:27 -07:00
Jingwen Owen Ou 6547dc388d Add gotask script to build gh 2013-10-23 15:00:57 -07:00
Jingwen Owen Ou ebc91a30f9 Add #! to scripts 2013-10-10 20:32:46 -07:00
Jingwen Owen Ou abbc4113a3 Add some basic scripts 2013-10-10 20:26:16 -07:00
Mislav Marohnić b7b8d3d7a1 update bundle location in syntax warnings script 2013-08-10 01:37:18 +02:00
Mislav Marohnić 5fbd7c75bd add script/test for running tests
Instruct it to fail on Ruby syntax warnings coming from only the code in
this project.
2013-07-10 00:05:41 +02:00