blob: 9a175119151612f3432ecde73a1a76890a201f24 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
diff -aur vale-0.10.1-old/Makefile vale-0.10.1-new/Makefile
--- vale-0.10.1-old/Makefile 2018-02-17 04:00:48.000000000 +0100
+++ vale-0.10.1-new/Makefile 2018-03-02 00:01:30.630943963 +0100
@@ -5,6 +5,7 @@
CURR_SHA=$(shell git rev-parse --verify HEAD)
LDFLAGS=-ldflags "-s -w -X main.version=$(LAST_TAG)"
+RUBY_CUSTOM_PATH=/home/${USER}/.gem/ruby/$(shell ruby -e 'puts RUBY_VERSION')/bin
.PHONY: data test lint ci cross install bump rules setup bench compare release
@@ -66,8 +67,10 @@
go get -u github.com/alecthomas/gometalinter
go get -u github.com/jteeuwen/go-bindata/...
gometalinter --install
- bundle install
- gem specific_install -l https://github.com/jdkato/aruba.git -b d-win-fix
+ gem install --no-rdoc --no-ri bundle
+ bundle install --path ${RUBY_CUSTOM_PATH}
+ gem install --no-rdoc --no-ri specific_install
+ gem specific_install -l https://github.com/jdkato/aruba.git
rules:
go-bindata -ignore=\\.DS_Store -pkg="rule" -o rule/rule.go rule/*.yml
|