mirror of
https://github.com/mattermost/focalboard.git
synced 2025-04-14 11:28:37 +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.
|
webapp: ## Build webapp.
|
||||||
cd webapp; npm run pack
|
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.
|
mac-app: server-mac webapp ## Build Mac application.
|
||||||
rm -rf mac/temp
|
rm -rf mac/temp
|
||||||
rm -rf mac/dist
|
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…
x
Reference in New Issue
Block a user