Commit af8f84d3 authored by Philipp Winter's avatar Philipp Winter
Browse files

Merge branch 'feature/1' into 'master'

Enable cross-compilation for OS X.

Closes #1

See merge request !1
parents 6e1b7b01 187ca6a2
output_dir = bin
all: windows linux
build: *.go
go build -o $(output_dir)/emma
osx: *.go
# The command 'go tool dist list' shows you a list of all supported
# platforms and architectures.
GOOS=darwin go build -o $(output_dir)/
windows: *.go
GOOS=windows GOARCH=386 go build -o $(output_dir)/emma.exe
GOOS=windows go build -o $(output_dir)/emma.exe
linux: *.go
go build -o $(output_dir)/emma
GOOS=linux go build -o $(output_dir)/emma
......@@ -18,6 +18,19 @@ stdout.
Emma is meant to be run by semi-technical Tor users who believe that they are
subject to censorship.
## Build
You need to have [golang]( installed to compile emma.
First, clone the repository by running
git clone
Then, enter your newly-cloned repository and compile the tool by running
cd emma && make
If everything worked, your emma binary will be in the `bin` directory.
## Example output
Here's what emma's output looks like:
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment