From 36c3bd875bf125b40cfbff5d6ba27b49f78cfb9d Mon Sep 17 00:00:00 2001 From: Michel Roux Date: Sat, 17 Aug 2024 00:10:17 +0200 Subject: [PATCH] build: :memo: fix build and remove COC for now --- CODE_OF_CONDUCT.md | 9 ----- Makefile | 87 +++++++++++++++++++++++----------------------- 2 files changed, 44 insertions(+), 52 deletions(-) delete mode 100644 CODE_OF_CONDUCT.md diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md deleted file mode 100644 index d906007..0000000 --- a/CODE_OF_CONDUCT.md +++ /dev/null @@ -1,9 +0,0 @@ -In the Nextcloud community, participants from all over the world come together to create Free Software for a free internet. This is made possible by the support, hard work and enthusiasm of thousands of people, including those who create and use Nextcloud software. - -Our code of conduct offers some guidance to ensure Nextcloud participants can cooperate effectively in a positive and inspiring atmosphere, and to explain how together we can strengthen and support each other. - -The Code of Conduct is shared by all contributors and users who engage with the Nextcloud team and its community services. It presents a summary of the shared values and “common sense” thinking in our community. - -You can find our full code of conduct on our website: https://nextcloud.com/code-of-conduct/ - -Please, keep our CoC in mind when you contribute! That way, everyone can be a part of our community in a productive, positive, creative and fun way. diff --git a/Makefile b/Makefile index 0e30da4..7aabf9c 100644 --- a/Makefile +++ b/Makefile @@ -103,14 +103,14 @@ dist: build source: rm -rf $(source_build_directory) mkdir -p $(source_build_directory) - tar cvzf $(source_package_name).tar.gz \ + tar -C .. -cvzf $(source_package_name).tar.gz \ --exclude-vcs \ - --exclude="../$(app_name)/build" \ - --exclude="../$(app_name)/js/node_modules" \ - --exclude="../$(app_name)/node_modules" \ - --exclude="../$(app_name)/*.log" \ - --exclude="../$(app_name)/js/*.log" \ - ../$(app_name) + --exclude="$(app_name)/build" \ + --exclude="$(app_name)/js/node_modules" \ + --exclude="$(app_name)/node_modules" \ + --exclude="$(app_name)/*.log" \ + --exclude="$(app_name)/js/*.log" \ + $(app_name) # Builds the source package for the app store, ignores php tests, js tests # and build related folders that are unnecessary for an appstore release @@ -118,42 +118,43 @@ source: appstore: rm -rf $(appstore_build_directory) mkdir -p $(appstore_build_directory) - tar cvzf $(appstore_package_name).tar.gz \ - --exclude="../$(app_name)/build" \ - --exclude="../$(app_name)/tests" \ - --exclude="../$(app_name)/Makefile" \ - --exclude="../$(app_name)/*.log" \ - --exclude="../$(app_name)/phpunit*xml" \ - --exclude="../$(app_name)/composer.*" \ - --exclude="../$(app_name)/node_modules" \ - --exclude="../$(app_name)/js/node_modules" \ - --exclude="../$(app_name)/js/tests" \ - --exclude="../$(app_name)/js/test" \ - --exclude="../$(app_name)/js/*.log" \ - --exclude="../$(app_name)/js/package.json" \ - --exclude="../$(app_name)/js/bower.json" \ - --exclude="../$(app_name)/js/karma.*" \ - --exclude="../$(app_name)/js/protractor.*" \ - --exclude="../$(app_name)/package.json" \ - --exclude="../$(app_name)/bower.json" \ - --exclude="../$(app_name)/karma.*" \ - --exclude="../$(app_name)/protractor\.*" \ - --exclude="../$(app_name)/.*" \ - --exclude="../$(app_name)/js/.*" \ - --exclude="../$(app_name)/webpack.js" \ - --exclude="../$(app_name)/stylelint.config.js" \ - --exclude="../$(app_name)/README.md" \ - --exclude="../$(app_name)/package-lock.json" \ - --exclude="../$(app_name)/LICENSE" \ - --exclude="../$(app_name)/src" \ - --exclude="../$(app_name)/stubs" \ - --exclude="../$(app_name)/screens" \ - --exclude="../$(app_name)/vendor" \ - --exclude="../$(app_name)/translationfiles" \ - --exclude="../$(app_name)/Dockerfile" \ - --exclude="../$(app_name)/psalm.xml" \ - --exclude="../$(app_name)/renovate.json" \ - ../$(app_name) + tar -C .. -cvzf $(appstore_package_name).tar.gz \ + --exclude="$(app_name)/build" \ + --exclude="$(app_name)/tests" \ + --exclude="$(app_name)/Makefile" \ + --exclude="$(app_name)/*.log" \ + --exclude="$(app_name)/phpunit*xml" \ + --exclude="$(app_name)/composer.*" \ + --exclude="$(app_name)/node_modules" \ + --exclude="$(app_name)/js/node_modules" \ + --exclude="$(app_name)/js/tests" \ + --exclude="$(app_name)/js/test" \ + --exclude="$(app_name)/js/*.log" \ + --exclude="$(app_name)/js/package.json" \ + --exclude="$(app_name)/js/bower.json" \ + --exclude="$(app_name)/js/karma.*" \ + --exclude="$(app_name)/js/protractor.*" \ + --exclude="$(app_name)/package.json" \ + --exclude="$(app_name)/bower.json" \ + --exclude="$(app_name)/karma.*" \ + --exclude="$(app_name)/protractor\.*" \ + --exclude="$(app_name)/.*" \ + --exclude="$(app_name)/js/.*" \ + --exclude="$(app_name)/webpack.js" \ + --exclude="$(app_name)/stylelint.config.js" \ + --exclude="$(app_name)/README.md" \ + --exclude="$(app_name)/package-lock.json" \ + --exclude="$(app_name)/LICENSE" \ + --exclude="$(app_name)/src" \ + --exclude="$(app_name)/stubs" \ + --exclude="$(app_name)/screens" \ + --exclude="$(app_name)/vendor" \ + --exclude="$(app_name)/translationfiles" \ + --exclude="$(app_name)/Dockerfile" \ + --exclude="$(app_name)/psalm.xml" \ + --exclude="$(app_name)/renovate.json" \ + --exclude="$(app_name)/vite.config.mjs" \ + $(app_name) # Start a nextcloud server on Docker to kickstart developement .PHONY: dev