Skip to content

ebautistabar/cli

 
 

Repository files navigation

Build Status

Goals

Provide developers an easy way to work with exercism.io that doesn't require a Ruby environment.

Installing Go

On Mac OS X

You may get away with brew install go --cross-compile-common unless you have the latest XCode, which does not ship with gcc.

If have the latest XCode, try brew install go --cross-compile-common --without-cgo.

If that throws an error, try brew install go --cross-compile-common --with-llvm.

Development

  1. Fork and clone into your $GOPATH/src
  2. go get
  3. go install github.com/levicook/glitch
  4. Open a separate terminal window to your project directory and run the command glitch
  5. Write a test.
  6. Watch test fail.
  7. Make test pass.
  8. Submit a pull request.

Building

  1. Run bin/build and the binary for your platform will be built into the out directory.
  2. Run bin/build-all and the binaries for OSX, Linux and Windows will be built into the release directory.

Troubleshooting

app.Run(os.Args) used as value

This error is due to a breaking change between the 0.x version of the codegangsta/cli library and the 1.x version of the library.

To fix it update the codegangsta/cli dependency:

$ go get -u github.com/codegangsta/cli

About

A Go based command line tool for exercism.io.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 94.0%
  • Shell 6.0%