diff --git a/Makefile b/Makefile index 481bb53..3c2508c 100644 --- a/Makefile +++ b/Makefile @@ -30,7 +30,7 @@ app_name=nextcloudapptemplate repo_path=your-user/nextcloud-$(app_name) build_tools_directory=$(CURDIR)/build/tools source_build_directory=$(CURDIR)/build/artifacts/source -source_intermediate_directory=$(CURDIR)/build/artifacts/intermediate-source +source_intermediate_directory=$(CURDIR)/build/artifacts/intermediate-source/$(app_name) source_package_name=$(source_build_directory)/$(app_name) app_intermediate_directory=$(CURDIR)/build/artifacts/intermediate/$(app_name) appstore_build_directory=$(CURDIR)/build/artifacts/appstore @@ -152,9 +152,10 @@ source: --exclude="node_modules" \ --exclude="*.log" \ --exclude="dist/js/*.log" \ + --exclude="rename-template.sh" \ $(CURDIR)/ $(source_intermediate_directory) - cd $(source_intermediate_directory) && \ - tar czf $(source_package_name).tar.gz ../$(app_name) + cd $(CURDIR)/build/artifacts/intermediate-source && \ + tar czf $(source_package_name).tar.gz $(app_name) # appstore: # - Create an App Store tarball (strips tests, dotfiles, dev configs) @@ -190,9 +191,10 @@ appstore: --exclude=".*" \ --exclude="dist/js/.*" \ --exclude="/src" \ + --exclude="rename-template.sh" \ $(CURDIR)/ $(app_intermediate_directory) - cd $(app_intermediate_directory) && \ - tar czf $(appstore_package_name).tar.gz ../$(app_name) + cd $(CURDIR)/build/artifacts/intermediate && \ + tar czf $(appstore_package_name).tar.gz $(app_name) # test: # - Run PHP unit tests (standard + optional integration config) diff --git a/composer.json b/composer.json index 00ebcac..1c8b512 100644 --- a/composer.json +++ b/composer.json @@ -1,6 +1,6 @@ { "name": "nextcloud/nextcloudapptemplate", - "description": "Automatically fills the currency rates for your Cospend projects daily.", + "description": "Enter your app summary here.", "license": "AGPL-3.0-or-later", "authors": [ { diff --git a/composer/autoload.php b/composer/autoload.php new file mode 100644 index 0000000..2962a67 --- /dev/null +++ b/composer/autoload.php @@ -0,0 +1,8 @@ + +// SPDX-License-Identifier: AGPL-3.0-or-later +// +declare(strict_types=1); + +require_once __DIR__ . '/../vendor/autoload.php';