Changed the way vendor imports, using the new GO15VENDOREXPERIMENT feature

This commit is contained in:
claudemiro
2015-08-27 23:48:05 -03:00
parent 0bf660183b
commit 341909e600
12 changed files with 22 additions and 22 deletions
+6 -6
View File
@@ -1,22 +1,22 @@
default: debug default: debug
debug: debug:
go install -ldflags "-w" github.com/dimiro1/ipe GO15VENDOREXPERIMENT=1 go install -ldflags "-w" github.com/dimiro1/ipe
run-debug: debug run-debug: debug
${GOPATH}/bin/ipe --config ${GOPATH}/src/github.com/dimiro1/ipe/config.json -logtostderr=true -v=2 ${GOPATH}/bin/ipe --config ${GOPATH}/src/github.com/dimiro1/ipe/config.json -logtostderr=true -v=2
test: test:
go test `go list ./... | grep -v vendor` GO15VENDOREXPERIMENT=1 go test `go list ./... | grep -v vendor`
macos: macos:
GOOS=darwin GOARCH=amd64 go install github.com/dimiro1/ipe GO15VENDOREXPERIMENT=1 GOOS=darwin GOARCH=amd64 go install github.com/dimiro1/ipe
linux: linux:
GOOS=linux GOARCH=amd64 go install github.com/dimiro1/ipe GO15VENDOREXPERIMENT=1 GOOS=linux GOARCH=amd64 go install github.com/dimiro1/ipe
windows: windows:
GOOS=windows GOARCH=amd64 go install github.com/dimiro1/ipe GO15VENDOREXPERIMENT=1 GOOS=windows GOARCH=amd64 go install github.com/dimiro1/ipe
raspberry: raspberry:
GOOS=linux GOARCH=arm go install github.com/dimiro1/ipe GO15VENDOREXPERIMENT=1 GOOS=linux GOARCH=arm go install github.com/dimiro1/ipe
+1 -1
View File
@@ -10,7 +10,7 @@ import (
"fmt" "fmt"
"sync" "sync"
log "github.com/dimiro1/ipe/vendor/github.com/golang/glog" log "github.com/golang/glog"
) )
// An App // An App
+2 -2
View File
@@ -10,8 +10,8 @@ import (
"sort" "sort"
"strings" "strings"
log "github.com/dimiro1/ipe/vendor/github.com/golang/glog" log "github.com/golang/glog"
"github.com/dimiro1/ipe/vendor/github.com/gorilla/mux" "github.com/gorilla/mux"
"github.com/dimiro1/ipe/utils" "github.com/dimiro1/ipe/utils"
) )
+1 -1
View File
@@ -11,7 +11,7 @@ import (
"sync" "sync"
"time" "time"
log "github.com/dimiro1/ipe/vendor/github.com/golang/glog" log "github.com/golang/glog"
) )
// A Channel // A Channel
+2 -2
View File
@@ -7,8 +7,8 @@ package ipe
import ( import (
"time" "time"
log "github.com/dimiro1/ipe/vendor/github.com/golang/glog" log "github.com/golang/glog"
"github.com/dimiro1/ipe/vendor/github.com/gorilla/websocket" "github.com/gorilla/websocket"
) )
// An User Connection // An User Connection
+1 -1
View File
@@ -7,7 +7,7 @@ package ipe
import ( import (
"encoding/json" "encoding/json"
log "github.com/dimiro1/ipe/vendor/github.com/golang/glog" log "github.com/golang/glog"
) )
// { // {
+1 -1
View File
@@ -8,7 +8,7 @@ import (
"fmt" "fmt"
"net/http" "net/http"
"github.com/dimiro1/ipe/vendor/github.com/gorilla/mux" "github.com/gorilla/mux"
) )
// Check if the application is disabled // Check if the application is disabled
+2 -2
View File
@@ -10,8 +10,8 @@ import (
"net/http" "net/http"
"strings" "strings"
log "github.com/dimiro1/ipe/vendor/github.com/golang/glog" log "github.com/golang/glog"
"github.com/dimiro1/ipe/vendor/github.com/gorilla/mux" "github.com/gorilla/mux"
) )
// An event consists of a name and data (typically JSON) which may be sent to all subscribers to a particular channel or channels. // An event consists of a name and data (typically JSON) which may be sent to all subscribers to a particular channel or channels.
+1 -1
View File
@@ -8,7 +8,7 @@ import (
_ "expvar" _ "expvar"
"net/http" "net/http"
"github.com/dimiro1/ipe/vendor/github.com/gorilla/mux" "github.com/gorilla/mux"
) )
// newRouter is a function that returns a new configured Router // newRouter is a function that returns a new configured Router
+1 -1
View File
@@ -11,7 +11,7 @@ import (
"time" "time"
"github.com/dimiro1/ipe/utils" "github.com/dimiro1/ipe/utils"
log "github.com/dimiro1/ipe/vendor/github.com/golang/glog" log "github.com/golang/glog"
) )
// A WebHook is sent as a HTTP POST request to the url which you specify. // A WebHook is sent as a HTTP POST request to the url which you specify.
+3 -3
View File
@@ -12,9 +12,9 @@ import (
"strconv" "strconv"
"strings" "strings"
log "github.com/dimiro1/ipe/vendor/github.com/golang/glog" log "github.com/golang/glog"
"github.com/dimiro1/ipe/vendor/github.com/gorilla/mux" "github.com/gorilla/mux"
"github.com/dimiro1/ipe/vendor/github.com/gorilla/websocket" "github.com/gorilla/websocket"
"github.com/dimiro1/ipe/utils" "github.com/dimiro1/ipe/utils"
) )
+1 -1
View File
@@ -9,7 +9,7 @@ import (
"fmt" "fmt"
"github.com/dimiro1/ipe/ipe" "github.com/dimiro1/ipe/ipe"
log "github.com/dimiro1/ipe/vendor/github.com/golang/glog" log "github.com/golang/glog"
) )
// Main function, initialze the system // Main function, initialze the system