mirror of
https://gitlab.com/ric_harvey/MailHog.git
synced 2024-11-27 16:24:04 +00:00
Move stuff around
This commit is contained in:
parent
116c210c25
commit
8321b0e40a
6 changed files with 15 additions and 7 deletions
|
@ -4,11 +4,11 @@ import (
|
||||||
"flag"
|
"flag"
|
||||||
"os"
|
"os"
|
||||||
|
|
||||||
|
"github.com/ian-kent/Go-MailHog/MailHog-Server/api"
|
||||||
"github.com/ian-kent/Go-MailHog/MailHog-Server/config"
|
"github.com/ian-kent/Go-MailHog/MailHog-Server/config"
|
||||||
"github.com/ian-kent/Go-MailHog/MailHog-Server/http/api"
|
|
||||||
"github.com/ian-kent/Go-MailHog/MailHog-Server/smtp"
|
|
||||||
"github.com/ian-kent/Go-MailHog/MailHog-UI/assets"
|
"github.com/ian-kent/Go-MailHog/MailHog-UI/assets"
|
||||||
"github.com/ian-kent/Go-MailHog/http"
|
"github.com/ian-kent/Go-MailHog/http"
|
||||||
|
"github.com/ian-kent/Go-MailHog/smtp"
|
||||||
"github.com/ian-kent/go-log/log"
|
"github.com/ian-kent/go-log/log"
|
||||||
gotcha "github.com/ian-kent/gotcha/app"
|
gotcha "github.com/ian-kent/gotcha/app"
|
||||||
)
|
)
|
||||||
|
|
|
@ -4,12 +4,12 @@ import (
|
||||||
"flag"
|
"flag"
|
||||||
"os"
|
"os"
|
||||||
|
|
||||||
|
"github.com/ian-kent/Go-MailHog/MailHog-Server/api"
|
||||||
"github.com/ian-kent/Go-MailHog/MailHog-Server/config"
|
"github.com/ian-kent/Go-MailHog/MailHog-Server/config"
|
||||||
"github.com/ian-kent/Go-MailHog/MailHog-Server/http/api"
|
|
||||||
"github.com/ian-kent/Go-MailHog/MailHog-Server/smtp"
|
|
||||||
"github.com/ian-kent/Go-MailHog/MailHog-UI/assets"
|
"github.com/ian-kent/Go-MailHog/MailHog-UI/assets"
|
||||||
"github.com/ian-kent/Go-MailHog/MailHog-UI/http/web"
|
"github.com/ian-kent/Go-MailHog/MailHog-UI/web"
|
||||||
"github.com/ian-kent/Go-MailHog/http"
|
"github.com/ian-kent/Go-MailHog/http"
|
||||||
|
"github.com/ian-kent/Go-MailHog/smtp"
|
||||||
"github.com/ian-kent/go-log/log"
|
"github.com/ian-kent/go-log/log"
|
||||||
gotcha "github.com/ian-kent/gotcha/app"
|
gotcha "github.com/ian-kent/gotcha/app"
|
||||||
)
|
)
|
||||||
|
|
12
Makefile
12
Makefile
|
@ -1,8 +1,16 @@
|
||||||
DEPS = $(go list -f '{{range .TestImports}}{{.}} {{end}}' ./...)
|
DEPS = $(go list -f '{{range .TestImports}}{{.}} {{end}}' ./...)
|
||||||
|
|
||||||
all: deps bindata fmt
|
all: deps bindata fmt combined
|
||||||
|
|
||||||
|
combined:
|
||||||
go install ./MailHog
|
go install ./MailHog
|
||||||
|
|
||||||
|
server:
|
||||||
|
go install ./MailHog-Server
|
||||||
|
|
||||||
|
ui:
|
||||||
|
go install ./MailHog-UI
|
||||||
|
|
||||||
bindata:
|
bindata:
|
||||||
go-bindata -o MailHog-UI/assets/assets.go -pkg assets -prefix MailHog-UI/ MailHog-UI/assets/...
|
go-bindata -o MailHog-UI/assets/assets.go -pkg assets -prefix MailHog-UI/ MailHog-UI/assets/...
|
||||||
|
|
||||||
|
@ -25,4 +33,4 @@ test-deps:
|
||||||
release-deps:
|
release-deps:
|
||||||
go get github.com/mitchellh/gox
|
go get github.com/mitchellh/gox
|
||||||
|
|
||||||
.PNONY: all bindata release fmt test-deps release-deps
|
.PNONY: all combined server ui bindata release fmt test-deps release-deps
|
||||||
|
|
Loading…
Reference in a new issue