Commit graph

16 commits

Author SHA1 Message Date
Jesse Hallam
0f24f27f20
Update custom.mk
Fix typo.
2019-07-09 14:42:46 -03:00
Hanzei
5763d2f9f3 Add support for custom makefile (#45)
* Add support for custom makefile

* Add documention
2019-06-24 19:50:25 -04:00
Hanzei
43af4d9cfe
Refactoring (#43)
* Cleanup .gitignore

* Document minimum server version

* Become golint compliant

* Use pre defined http method

* Update dependencies

* Add i18n-extract target

* Add golint target

* Run check-style against all go files

Co-Authored-By: Jesse Hallam <jesse.hallam@gmail.com>
2019-06-22 16:15:48 +02:00
Hanzei
fe3553d999 Go modules (#22)
* Move to go modules

* Move go.mod in root directory

* Update Readme

* Remove golang.org/x/tools from go.mod

* Remove go list from targets

* Set go version to 1.12

* Update Makefile

Co-Authored-By: hanzei <16541325+hanzei@users.noreply.github.com>

* Update dependencies

* Fix build
2019-04-10 12:42:33 -07:00
happygaijin
0e863452cc MM-14575: Automatically serve static files for plugins (#33)
* MM-14575: Automatically serve static files for plugins
* Added sample public file
* Added HAS_PUBLIC to Makefile to test for public folder
* Added "static_files" config setting

* MM-14575: Removing static_files from plugin.json

* MM14575: Moving public folder to bundle root

* MM14575:Moving public directory to root
2019-04-02 13:22:01 -07:00
Hanzei
415e8b5f72
Update dependencies for 5.6 (#24) 2018-12-17 08:28:01 +01:00
Hanzei
e30e2613a4
Update Mattermost to v5.4 2018-10-17 07:19:22 +02:00
Hanzei
d918262365
Update server dependencies 2018-09-23 08:22:59 +02:00
Jesse Hallam
15a3d3c433
fix index.js import of plugin id 2018-09-20 14:21:10 -04:00
Jesse Hallam
5b2980d1ac
tweak plugin id/version injection
* define BUNDLE_NAME after including build/setup.mk (just for clarity, not correctness)
* separate plugin id from version with dash in bundle name to match Mattermost package
* fix various js/go idioms (some pre-existing!)
* fix error message
2018-09-20 11:56:40 -04:00
Hanzei
ed143d89d4
Include version into bundle name 2018-09-18 08:19:42 +02:00
Hanzei
8cb9ff92df
Extract plugin version from manifest 2018-09-18 08:12:48 +02:00
Jesse Hallam
2de3471aa2
more Makefile improvements
* warn upfront if go/dep/npm not available
* try to find dep in $GOPATH/bin if not installed globally
* only override variables if not externally defined, allowing manual override from command line
* split up Makefile into a buid/setup.mk for simplicity

I didn't actually find anything that made this Makefile not-linux
specific -- tested on Debian with the standard make installed.
2018-07-31 16:15:55 -04:00
Jesse Hallam
8788b41ab2
s/vgo/dep/ 2018-07-27 14:32:36 -04:00
Jesse Hallam
6d10b915ca
tweak plugin_id.js generation 2018-07-24 16:06:31 -04:00
Jesse Hallam
189f92c54b
initial commit 2018-07-23 13:43:22 -04:00