summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Anderson <[email protected]>2017-07-02 14:46:05 -0700
committerDavid Anderson <[email protected]>2017-07-02 14:46:05 -0700
commit3eb49e9b3902de95b3c9f5729d51ca7f61f02e5a (patch)
tree0f7c2ea9e93dfff7c63c7c35a0531a582eff1e42
parentc58b44c4fc69a3602d751d679c69c07e6bcbe24a (diff)
Move tlsrouter to cmd/tlsrouter, in preparation for rewrite as a pkg.
-rw-r--r--.travis.yml8
-rw-r--r--cmd/tlsrouter/acme.go (renamed from acme.go)0
-rw-r--r--cmd/tlsrouter/config.go (renamed from config.go)0
-rw-r--r--cmd/tlsrouter/config_test.go (renamed from config_test.go)0
-rw-r--r--cmd/tlsrouter/e2e_test.go (renamed from e2e_test.go)0
-rw-r--r--cmd/tlsrouter/main.go (renamed from main.go)0
-rw-r--r--cmd/tlsrouter/sni.go (renamed from sni.go)0
-rw-r--r--cmd/tlsrouter/sni_test.go (renamed from sni_test.go)0
8 files changed, 4 insertions, 4 deletions
diff --git a/.travis.yml b/.travis.yml
index 9e5c641..7d98c9f 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -11,9 +11,9 @@ install:
before_script:
script:
- go get -t .
-- go build .
-- go test .
-- go vet .
+- go build ./...
+- go test ./...
+- go vet ./...
- golint -set_exit_status .
jobs:
@@ -30,7 +30,7 @@ jobs:
--maintainer "David Anderson <[email protected]>"
--description "TLS SNI router"
--url "https://github.com/google/tlsrouter"
- ./tlsrouter=/usr/bin/tlsrouter
+ ./cmd/tlsrouter/tlsrouter=/usr/bin/tlsrouter
./systemd/tlsrouter.service=/lib/systemd/system/tlsrouter.service
deploy:
- provider: packagecloud
diff --git a/acme.go b/cmd/tlsrouter/acme.go
index ab8d59a..ab8d59a 100644
--- a/acme.go
+++ b/cmd/tlsrouter/acme.go
diff --git a/config.go b/cmd/tlsrouter/config.go
index 1c8151f..1c8151f 100644
--- a/config.go
+++ b/cmd/tlsrouter/config.go
diff --git a/config_test.go b/cmd/tlsrouter/config_test.go
index 9819b91..9819b91 100644
--- a/config_test.go
+++ b/cmd/tlsrouter/config_test.go
diff --git a/e2e_test.go b/cmd/tlsrouter/e2e_test.go
index c53e8c5..c53e8c5 100644
--- a/e2e_test.go
+++ b/cmd/tlsrouter/e2e_test.go
diff --git a/main.go b/cmd/tlsrouter/main.go
index ff1a816..ff1a816 100644
--- a/main.go
+++ b/cmd/tlsrouter/main.go
diff --git a/sni.go b/cmd/tlsrouter/sni.go
index ed79df2..ed79df2 100644
--- a/sni.go
+++ b/cmd/tlsrouter/sni.go
diff --git a/sni_test.go b/cmd/tlsrouter/sni_test.go
index 8c87d24..8c87d24 100644
--- a/sni_test.go
+++ b/cmd/tlsrouter/sni_test.go