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
debug:
go install -ldflags "-w" github.com/dimiro1/ipe
GO15VENDOREXPERIMENT=1 go install -ldflags "-w" github.com/dimiro1/ipe
run-debug: debug
${GOPATH}/bin/ipe --config ${GOPATH}/src/github.com/dimiro1/ipe/config.json -logtostderr=true -v=2
test:
go test `go list ./... | grep -v vendor`
GO15VENDOREXPERIMENT=1 go test `go list ./... | grep -v vendor`
macos:
GOOS=darwin GOARCH=amd64 go install github.com/dimiro1/ipe
GO15VENDOREXPERIMENT=1 GOOS=darwin GOARCH=amd64 go install github.com/dimiro1/ipe
linux:
GOOS=linux GOARCH=amd64 go install github.com/dimiro1/ipe
GO15VENDOREXPERIMENT=1 GOOS=linux GOARCH=amd64 go install github.com/dimiro1/ipe
windows:
GOOS=windows GOARCH=amd64 go install github.com/dimiro1/ipe
GO15VENDOREXPERIMENT=1 GOOS=windows GOARCH=amd64 go install github.com/dimiro1/ipe
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"
"sync"
log "github.com/dimiro1/ipe/vendor/github.com/golang/glog"
log "github.com/golang/glog"
)
// An App
+2 -2
View File
@@ -10,8 +10,8 @@ import (
"sort"
"strings"
log "github.com/dimiro1/ipe/vendor/github.com/golang/glog"
"github.com/dimiro1/ipe/vendor/github.com/gorilla/mux"
log "github.com/golang/glog"
"github.com/gorilla/mux"
"github.com/dimiro1/ipe/utils"
)
+1 -1
View File
@@ -11,7 +11,7 @@ import (
"sync"
"time"
log "github.com/dimiro1/ipe/vendor/github.com/golang/glog"
log "github.com/golang/glog"
)
// A Channel
+2 -2
View File
@@ -7,8 +7,8 @@ package ipe
import (
"time"
log "github.com/dimiro1/ipe/vendor/github.com/golang/glog"
"github.com/dimiro1/ipe/vendor/github.com/gorilla/websocket"
log "github.com/golang/glog"
"github.com/gorilla/websocket"
)
// An User Connection
+1 -1
View File
@@ -7,7 +7,7 @@ package ipe
import (
"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"
"net/http"
"github.com/dimiro1/ipe/vendor/github.com/gorilla/mux"
"github.com/gorilla/mux"
)
// Check if the application is disabled
+2 -2
View File
@@ -10,8 +10,8 @@ import (
"net/http"
"strings"
log "github.com/dimiro1/ipe/vendor/github.com/golang/glog"
"github.com/dimiro1/ipe/vendor/github.com/gorilla/mux"
log "github.com/golang/glog"
"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.
+1 -1
View File
@@ -8,7 +8,7 @@ import (
_ "expvar"
"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
+1 -1
View File
@@ -11,7 +11,7 @@ import (
"time"
"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.
+3 -3
View File
@@ -12,9 +12,9 @@ import (
"strconv"
"strings"
log "github.com/dimiro1/ipe/vendor/github.com/golang/glog"
"github.com/dimiro1/ipe/vendor/github.com/gorilla/mux"
"github.com/dimiro1/ipe/vendor/github.com/gorilla/websocket"
log "github.com/golang/glog"
"github.com/gorilla/mux"
"github.com/gorilla/websocket"
"github.com/dimiro1/ipe/utils"
)
+1 -1
View File
@@ -9,7 +9,7 @@ import (
"fmt"
"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