Skip to content

Commit

Permalink
Add makefile to move building there
Browse files Browse the repository at this point in the history
  • Loading branch information
pcarranza committed Sep 18, 2018
1 parent 93c679e commit a9840ff
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ before_script:
- mkdir -p /go/src/gitlab.com/yakshaving.art
- cp -r /builds/yakshaving.art/propaganda /go/src/gitlab.com/yakshaving.art/
- cd /go/src/gitlab.com/yakshaving.art/propaganda
- dep ensure
- make ensure

build:
stage: build
script:
- go build
- make build

# test:
# stage: test
Expand Down
8 changes: 8 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@

all: ensure build

ensure:
dep ensure

build:
go build

0 comments on commit a9840ff

Please sign in to comment.