/Antroid

School project

Primary LanguageGo

Antroid

logo

Members

  • David Galichet: galichet.david@yahoo.fr
  • Julien Sagot: ju.sagot@gmail.com
  • Nicolas Cailloux: caillouxnicolas@gmail.com
  • Baptiste Fontaine: b@ptistefontaine.fr

Constraints

  • ✓ Use Scheme somewhere in the project
  • ✓ Use a lot of libraries

Build

make

See also docs/hacking.md.

Dependencies

Go

  • Ubuntu: sudo apt-get install golang
  • OS X : brew install go

If you don’t have a GOPATH, create a directory somewhere where you'll put your Go code, for example ~/Go.

Add the following to your .bashrc (adjust with your settings):

export GOPATH="$HOME/Go"
export PATH="$GOPATH/bin:$PATH"

Now reload your shell and run:

mkdir -p "$GOPATH/src/github.com/bfontaine/antroid"
cd "$GOPATH/src/github.com/bfontaine/antroid"
git clone git@github.com:bfontaine/Antroid.git .

If you don’t have access to the GitHub repo, just copy the directory in $GOPATH/src/github.com/bfontaine/antroid and you’ll be fine.

Then run:

make deps

Libraries

We used some libraries to build this project, to comply with the guidelines, and also because we, well, needed them.

  • goreq for easier HTTP requests (Go)
  • query to generate query strings (Go)
  • golbin and gomega for BDD tests (Go)
  • kingpin for command-line arguments parsing (Go)
  • list-utils for list utilities (Scheme)
  • loops for loops (Scheme)
  • matchable for pattern matching (Scheme)