add screenshot, travis.yml, bump version to 0.1

master
Christopher Brown 2017-12-21 15:25:22 -06:00
parent 0caafd9f81
commit df6a5e90ba
4 changed files with 20 additions and 5 deletions

15
.travis.yml Normal file
View File

@ -0,0 +1,15 @@
dist: trusty
sudo: false
language: go
go: 1.x
after_success:
- bash <(curl -s https://codecov.io/bash)
deploy:
provider: releases
api_key:
secure: lwY0c02bGtmFZKfU82RlRIGKUI+eU/ibuUuuxtp8u9A4917qu3ZkoMXGmzmgMiPwMilPBj6jbmUtL5jXMJK/fPda7FKzGFxWPYTi2es5W6uwXlGmYJld2cqYdXEROAnbgr6GJEF0EJ29SYw5tZaCz1lj/LVaolkcPRGY/Z9U0/0stabWBNM00JMsmd0O63DgYG4RvqaUlUmrJsFaewG0UQTtnHU0xzKu2ebVcuNT4vPYBOxN5Jcu+MvwDw98fWsw8yDLC8CM5zA4QFkmsdfycNGrGBGVOtFumR5ouJWsy6wepYsYeaZybM7zE9Ls4SlkR1mUBsOj3DoPg/HD6HK1m9liPhVpoJLC762WuqtrYFsZjPzCoGaU/eQGcmm5EF0/kn4fl1seERWtP7/bfMX/c8e5p1l5rDDdxroT1tWp8uxH9R4LpLMJLtDQIFoxwmwiT9MkKxdTuVtM5qmcd6zAHc7Ud15NEdNfFQMyOKk5z22HGpRFpZRypljbpxL8vgv6tnWhpVi5+Q/30a93DwBZ/R+tJ9m9dnGaUJ+ONAFUVS4WvbRQmuS7oHzHtJsih8yN71cw11IvyevigBBaPrvJvMOTOMRZt0+Xtk0CPFMMpi2SvG55/rV5JKC4MXb/rxGcEKhFYsG1rg+w7vNyrfCVkFdxvo7e0y4t57V6ik3JE10=
file_glob: true
file: dist/*
skip_cleanup: true
on:
tags: true

View File

@ -11,9 +11,9 @@ dist: vendor memelibrary/assets.go $(shell go list -f '{{range .GoFiles}}{{$$.Di
rm -rf ./dist
go get github.com/mitchellh/gox
$(shell go env GOPATH)/bin/gox -osarch='darwin/amd64 linux/amd64 windows/amd64' -output 'dist/intermediate/plugin_{{.OS}}_{{.Arch}}'
tar -czvf dist/mattermost-meme-plugin-darwin-amd64.tar.gz $(TAR_PLUGIN_EXE_TRANSFORM) dist/intermediate/plugin_darwin_amd64 plugin.yaml
tar -czvf dist/mattermost-meme-plugin-linux-amd64.tar.gz $(TAR_PLUGIN_EXE_TRANSFORM) dist/intermediate/plugin_linux_amd64 plugin.yaml
tar -czvf dist/mattermost-meme-plugin-windows-amd64.tar.gz $(TAR_PLUGIN_EXE_TRANSFORM) dist/intermediate/plugin_windows_amd64.exe plugin.yaml
tar -czvf dist/mattermost-memes-plugin-darwin-amd64.tar.gz $(TAR_PLUGIN_EXE_TRANSFORM) dist/intermediate/plugin_darwin_amd64 plugin.yaml
tar -czvf dist/mattermost-memes-plugin-linux-amd64.tar.gz $(TAR_PLUGIN_EXE_TRANSFORM) dist/intermediate/plugin_linux_amd64 plugin.yaml
tar -czvf dist/mattermost-memes-plugin-windows-amd64.tar.gz $(TAR_PLUGIN_EXE_TRANSFORM) dist/intermediate/plugin_windows_amd64.exe plugin.yaml
rm -rf dist/intermediate
memelibrary/assets.go: $(shell find memelibrary/assets)
@ -25,7 +25,7 @@ mattermost-memes-plugin.tar.gz: vendor memelibrary/assets.go $(shell go list -f
tar -czvf $@ plugin.exe plugin.yaml
rm plugin.exe
test: vendor
test: vendor memelibrary/assets.go
go test -v ./...
vendor: glide.lock

View File

@ -3,4 +3,4 @@ backend:
executable: plugin.exe
name: Memes
description: Gives you the ability to quickly create and post memes via a /meme slash command.
version: '0.0'
version: '0.1'

BIN
screenshot.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 907 KiB