1
0
mirror of https://github.com/mgerb/tmail synced 2026-01-08 08:52:48 +00:00

add makefile for cross compiling

This commit is contained in:
2018-02-27 15:21:54 -06:00
parent b626050b5f
commit 38f23970de
3 changed files with 16 additions and 0 deletions

1
.gitignore vendored
View File

@@ -1,3 +1,4 @@
vendor
*.db
tmail
build

13
makefile Normal file
View File

@@ -0,0 +1,13 @@
linux:
go build -o ./build/tmail-linux ./main.go
mac:
GOOS=darwin GOARCH=amd64 go build -o ./build/tmail-mac ./main.go
windows:
GOOS=windows GOARCH=386 go build -o ./build/tmail-windows.exe ./main.go
clean:
rm -rf ./build
all: linux mac windows

View File

@@ -7,6 +7,8 @@ A throwaway smtp mail server with an API to retrieve emails.
- all emails sent to *@<your domain> are stored in `mail.db`
- hit these end points to check the email
[Download the latest release here.](https://github.com/mgerb/tmail/releases)
```
All mail:
http://host:8090/api/mail