Build package using krankerl

Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
This commit is contained in:
Richard Steinmetz 2022-06-10 22:30:47 +02:00
parent 8efdf1d78b
commit 2b1714b125
No known key found for this signature in database
GPG Key ID: 27137D9E7D273FB2
3 changed files with 39 additions and 13 deletions

32
.nextcloudignore Normal file
View File

@ -0,0 +1,32 @@
.editorconfig
.eslintrc.js
.git
.github
.gitignore
.gitlab-ci.yml
.idea
.nextcloudignore
.php_cs.dist
.scrutinizer.yml
.stylelintignore
.stylelintrc
.tx
babel.config.js
build
composer.json
composer.lock
coverage
krankerl.toml
COPYING
Makefile
node_modules
package.json
package-lock.json
phpunit.unit.xml
README.md
screenshots
src
stylelint.config.js
tests
timezones
webpack.*

View File

@ -18,16 +18,4 @@ clean-dev:
# Builds the source package for the app store, ignores php and js tests
appstore:
rm -rf $(appstore_build_directory)
mkdir -p $(appstore_build_directory)
tar cvzf $(appstore_package_name).tar.gz \
--exclude-vcs \
$(project_directory)/appinfo \
$(project_directory)/css \
$(project_directory)/img \
$(project_directory)/l10n \
$(project_directory)/lib \
$(project_directory)/templates \
$(project_directory)/js \
$(project_directory)/COPYING \
$(project_directory)/CHANGELOG.md
krankerl package

6
krankerl.toml Normal file
View File

@ -0,0 +1,6 @@
[package]
before_cmds = [
"composer install --no-dev -o",
"npm install",
"npm run build",
]