Gondler
bundler for golang. inspired by gom.
Installation
$ gem install gondler
Usage
-
Write your Gomfile
gom 'github.com/golang/glog'
-
Install dependency packages:
gondler install
-
Build your application:
gondler build
-
Run tests:
gondler test
Gomfile
like gom's Gomfile
itself 'github.com/rosylilly/test'
autodetect
gom 'github.com/golang/glog'
package 'github.com/golang/glog'
gom 'github.com/golang/glog', commit: 'c6f9652c7179652e2fd8ed7002330db089f4c9db'
gom 'github.com/golang/glog', branch: 'master'
gom 'github.com/golang/glog', tag: 'go1'
gom 'github.com/golang/glog', group: ['development', 'test']
group :development, :test do
gom 'github.com/golang/glog'
end
gom 'github.com/golang/glog', os: ['linux', 'darwin']
os :linux, :darwin do
gom 'github.com/golang/glog'
end
Commands
build # Build with dependencies specified in your Gomfile
exec # Execute a command in the context of Gondler
help [COMMAND] # Describe available commands or one specific command
install # Install the dependecies specified in your Gomfile
list # Show all of the dependencies in the current bundle
repl # REPL in the context of Gondler
test # Test with dependencies specified in your Gomfile
version # Print Gondler version
Custom commands
Gondler supports custom commands.
- Create a executable script file somewhere in your executable paths. It must use the following naming schema
gondler-your-command
. - This file can be written in any scripting language or binaries.
- Now your could use it as
gondler your-command
.
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request