1
0
mirror of https://github.com/mattermost/focalboard.git synced 2024-12-24 13:43:12 +02:00

Adds the watch-plugin make target to improve the development experience (#1300)

* Adds the watch-plugin make target to improve the development experience

* Add modd command precheck
This commit is contained in:
Miguel de la Cruz 2021-09-22 17:08:24 +02:00 committed by GitHub
parent 9086246fb5
commit 9838609926
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 0 deletions

View File

@ -108,6 +108,9 @@ server-test: ## Run server tests
webapp: ## Build webapp.
cd webapp; npm run pack
watch-plugin: modd-precheck ## Run and upload the plugin to a development server
modd -f modd-watchplugin.conf
mac-app: server-mac webapp ## Build Mac application.
rm -rf mac/temp
rm -rf mac/dist

9
modd-watchplugin.conf Normal file
View File

@ -0,0 +1,9 @@
**/*.go !**/*_test.go {
indir: mattermost-plugin
prep: make server deploy-from-watch
}
{
indir: mattermost-plugin
daemon +sigterm: make watch
}