From b68198f45f8c0247107ee37098f1f200ee9e5c9c Mon Sep 17 00:00:00 2001 From: Jaume Martin Date: Sun, 16 Jul 2017 23:24:37 +0200 Subject: [PATCH] Added build.sh --- .gitignore | 1 - build.sh | 10 ++++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 build.sh diff --git a/.gitignore b/.gitignore index 65e7f08..df298a1 100644 --- a/.gitignore +++ b/.gitignore @@ -16,4 +16,3 @@ test/ build/ dev/ -build.sh diff --git a/build.sh b/build.sh new file mode 100644 index 0000000..b98a3a7 --- /dev/null +++ b/build.sh @@ -0,0 +1,10 @@ +#!/bin/bash + +## Build line +docker run --rm -it \ + -v "$PWD"/build:/go/src/github.com/Yara-Rules/yago/build \ + -v "$PWD":/go/src/github.com/Yara-Rules/yago \ + -w /go/src/github.com/Yara-Rules/yago \ + go-builder \ + bash godep.sh +