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:
parent
9086246fb5
commit
9838609926
3
Makefile
3
Makefile
@ -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
9
modd-watchplugin.conf
Normal file
@ -0,0 +1,9 @@
|
||||
**/*.go !**/*_test.go {
|
||||
indir: mattermost-plugin
|
||||
prep: make server deploy-from-watch
|
||||
}
|
||||
|
||||
{
|
||||
indir: mattermost-plugin
|
||||
daemon +sigterm: make watch
|
||||
}
|
Loading…
Reference in New Issue
Block a user