Build package / php-lint (8.2) (push) Successful in 49s
Build package / php-lint (8.3) (push) Successful in 39s
Build package / php-lint (8.4) (push) Successful in 40s
Build package / xml-lint (push) Successful in 12s
Build package / unit-tests (push) Successful in 45s
Build package / package (push) Successful in 57s
CLAUDE.md was shipped inside workflow_deck_automation.tar.gz. Exclude it along with two files in the same category: CLAUDE.local.md, which is gitignored private environment notes and must never end up in a downloadable package, and tsconfig.json, which exists purely so vite-plugin-dts has a config to resolve at build time and is dead weight on the server.
37 lines
1.1 KiB
Makefile
37 lines
1.1 KiB
Makefile
app_name=workflow_deck_automation
|
|
build_directory=$(CURDIR)/build
|
|
appstore_build_directory=$(build_directory)/appstore/$(app_name)
|
|
appstore_artifact_directory=$(build_directory)/artifacts/appstore
|
|
|
|
.PHONY: appstore
|
|
appstore: clean
|
|
mkdir -p $(appstore_build_directory) $(appstore_artifact_directory)
|
|
tar -cf - \
|
|
--exclude=./.git \
|
|
--exclude=./.gitea \
|
|
--exclude=./.gitignore \
|
|
--exclude=./composer.json \
|
|
--exclude=./composer.lock \
|
|
--exclude=./package.json \
|
|
--exclude=./package-lock.json \
|
|
--exclude=./node_modules \
|
|
--exclude=./vite.config.js \
|
|
--exclude=./src \
|
|
--exclude=./tests \
|
|
--exclude=./vendor \
|
|
--exclude=./build \
|
|
--exclude=./.php-cs-fixer.dist.php \
|
|
--exclude=./.php-cs-fixer.cache \
|
|
--exclude=./phpunit.xml \
|
|
--exclude=./README.md \
|
|
--exclude=./Makefile \
|
|
--exclude=./CLAUDE.md \
|
|
--exclude=./CLAUDE.local.md \
|
|
--exclude=./tsconfig.json \
|
|
. | tar -xf - -C $(appstore_build_directory)
|
|
tar -czf $(appstore_artifact_directory)/$(app_name).tar.gz -C $(build_directory)/appstore $(app_name)
|
|
|
|
.PHONY: clean
|
|
clean:
|
|
rm -rf $(build_directory)
|