Hello elastic community.
I am starting off a project around Beats and trying to first setup my environment.
I followed the steps on: https://www.elastic.co/guide/en/beats/devguide/master/new-beat.html
But the result was:
RAFAELB-MAC:indellient rafaelb$ python $GOPATH/src/github.com/elastic/beats/script/generate.py
Beat Name [Examplebeat]: Awesomebeat
Your Github Name [your-github-name]: rafaelbattesti
Beat Path [github.com/rafaelbattesti/awesomebeat]: github.com/indellient/awesomebeat
Firstname Lastname: Rafael Battesti
RAFAELB-MAC:indellient rafaelb$ cd awesomebeat/
RAFAELB-MAC:awesomebeat rafaelb$ python --version
Python 2.7.10
RAFAELB-MAC:awesomebeat rafaelb$ virtualenv --version
16.2.0
RAFAELB-MAC:awesomebeat rafaelb$ make setup
mkdir -p vendor/github.com/elastic
cp -R /Users/rafaelb/Go/src/github.com/elastic/beats vendor/github.com/elastic/
rm -rf vendor/github.com/elastic/beats/.git vendor/github.com/elastic/beats/x-pack
mkdir -p vendor/github.com/magefile
cp -R /Users/rafaelb/Go/src/github.com/elastic/beats/vendor/github.com/magefile/mage vendor/github.com/magefile
git init
Initialized empty Git repository in /Users/rafaelb/Go/src/github.com/indellient/awesomebeat/.git/
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f ./vendor/github.com/elastic/beats/libbeat/scripts/Makefile mage
./vendor/github.com/elastic/beats/libbeat/scripts/Makefile:99: ../dev-tools/make/mage.mk: No such file or directory
make[1]: *** No rule to make target `../dev-tools/make/mage.mk'. Stop.
make: *** [pre-setup] Error 2
[EDIT]
RAFAELB-MAC:awesomebeat rafaelb$ go version
go version go1.11.2 darwin/amd64
RAFAELB-MAC:awesomebeat rafaelb$ echo $GOPATH
/Users/rafaelb/Go
RAFAELB-MAC:awesomebeat rafaelb$ echo $PATH
/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/go/bin:/Users/rafaelb/DevOpsTools:/Users/rafaelb/Go/bin:/Users/rafaelb/DevOpsTools:/Users/rafaelb/Go/bin
RAFAELB-MAC:awesomebeat rafaelb$
Thanks!