Re-add package target to web app Makefile (#23960)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
30140c0a27
Коммит
b59cba7e63
1
webapp/.gitignore
поставляемый
1
webapp/.gitignore
поставляемый
@@ -3,6 +3,7 @@ junit.xml
|
||||
node_modules
|
||||
*.tsbuildinfo
|
||||
.rollup.cache
|
||||
*.tar.gz
|
||||
|
||||
channels/dist
|
||||
playbooks/dist
|
||||
|
||||
@@ -76,6 +76,14 @@ clean: ## Clears cached; deletes node_modules and dist directories
|
||||
npm run clean --workspaces --if-present
|
||||
rm -rf node_modules
|
||||
|
||||
.PHONY: package
|
||||
package: node_modules dist ## Generates ./mattermost-webapp.tar.gz for use by someone customizing the web app
|
||||
mkdir tmp
|
||||
mv channels/dist tmp/client
|
||||
tar -C tmp -czf mattermost-webapp.tar.gz client
|
||||
mv tmp/client channels/dist
|
||||
rmdir tmp
|
||||
|
||||
## Help documentation à la https://marmelab.com/blog/2016/02/29/auto-documented-makefile.html
|
||||
.PHONY: help
|
||||
help:
|
||||
|
||||
Ссылка в новой задаче
Block a user