Rake task for building Go applications
Ruby
Latest commit 7acb377 Sep 19, 2010 @pusewicz Update readme
Permalink
Failed to load latest commit information.
rakelib Add version number Sep 19, 2010
.gitignore Initial checkin Jan 30, 2010
README.markdown Update readme Sep 19, 2010
Rakefile Add Rakefile Sep 19, 2010

README.markdown

Installation

wget http://github.com/downloads/pusewicz/go-rake/go-rake-0.1.tar.gz
tar -zxf go-rake-0.1.tar.gz

Usage

Make sure you have src directory with all *.go files. Then run rake:

$ rake
(in /Users/piotr/Work/GoLang)
mkdir -p bin
mkdir -p build
6g -o build/http-server.6 src/http-server.go
6g -o build/multicore.6 src/http-server.go
6l -o bin/http-server build/http-server.6
6l -o bin/multicore build/http-server.6

Other

$ rake -T
(in /Users/piotr/Work/GoLang)
rake clean       # Remove any temporary products.
rake clobber     # Remove any generated file.
rake go:compile  # Compile Go programs