build: 📝 fix build and remove COC for now
All checks were successful
repod / xml (push) Successful in 15s
repod / php (push) Successful in 57s
repod / nodejs (push) Successful in 1m2s
repod / release (push) Has been skipped

This commit is contained in:
Michel Roux 2024-08-17 00:10:17 +02:00
parent 5742d1a762
commit 36c3bd875b
2 changed files with 44 additions and 52 deletions

View File

@ -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.

View File

@ -103,14 +103,14 @@ dist: build
source: source:
rm -rf $(source_build_directory) rm -rf $(source_build_directory)
mkdir -p $(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-vcs \
--exclude="../$(app_name)/build" \ --exclude="$(app_name)/build" \
--exclude="../$(app_name)/js/node_modules" \ --exclude="$(app_name)/js/node_modules" \
--exclude="../$(app_name)/node_modules" \ --exclude="$(app_name)/node_modules" \
--exclude="../$(app_name)/*.log" \ --exclude="$(app_name)/*.log" \
--exclude="../$(app_name)/js/*.log" \ --exclude="$(app_name)/js/*.log" \
../$(app_name) $(app_name)
# Builds the source package for the app store, ignores php tests, js tests # Builds the source package for the app store, ignores php tests, js tests
# and build related folders that are unnecessary for an appstore release # and build related folders that are unnecessary for an appstore release
@ -118,42 +118,43 @@ source:
appstore: appstore:
rm -rf $(appstore_build_directory) rm -rf $(appstore_build_directory)
mkdir -p $(appstore_build_directory) mkdir -p $(appstore_build_directory)
tar cvzf $(appstore_package_name).tar.gz \ tar -C .. -cvzf $(appstore_package_name).tar.gz \
--exclude="../$(app_name)/build" \ --exclude="$(app_name)/build" \
--exclude="../$(app_name)/tests" \ --exclude="$(app_name)/tests" \
--exclude="../$(app_name)/Makefile" \ --exclude="$(app_name)/Makefile" \
--exclude="../$(app_name)/*.log" \ --exclude="$(app_name)/*.log" \
--exclude="../$(app_name)/phpunit*xml" \ --exclude="$(app_name)/phpunit*xml" \
--exclude="../$(app_name)/composer.*" \ --exclude="$(app_name)/composer.*" \
--exclude="../$(app_name)/node_modules" \ --exclude="$(app_name)/node_modules" \
--exclude="../$(app_name)/js/node_modules" \ --exclude="$(app_name)/js/node_modules" \
--exclude="../$(app_name)/js/tests" \ --exclude="$(app_name)/js/tests" \
--exclude="../$(app_name)/js/test" \ --exclude="$(app_name)/js/test" \
--exclude="../$(app_name)/js/*.log" \ --exclude="$(app_name)/js/*.log" \
--exclude="../$(app_name)/js/package.json" \ --exclude="$(app_name)/js/package.json" \
--exclude="../$(app_name)/js/bower.json" \ --exclude="$(app_name)/js/bower.json" \
--exclude="../$(app_name)/js/karma.*" \ --exclude="$(app_name)/js/karma.*" \
--exclude="../$(app_name)/js/protractor.*" \ --exclude="$(app_name)/js/protractor.*" \
--exclude="../$(app_name)/package.json" \ --exclude="$(app_name)/package.json" \
--exclude="../$(app_name)/bower.json" \ --exclude="$(app_name)/bower.json" \
--exclude="../$(app_name)/karma.*" \ --exclude="$(app_name)/karma.*" \
--exclude="../$(app_name)/protractor\.*" \ --exclude="$(app_name)/protractor\.*" \
--exclude="../$(app_name)/.*" \ --exclude="$(app_name)/.*" \
--exclude="../$(app_name)/js/.*" \ --exclude="$(app_name)/js/.*" \
--exclude="../$(app_name)/webpack.js" \ --exclude="$(app_name)/webpack.js" \
--exclude="../$(app_name)/stylelint.config.js" \ --exclude="$(app_name)/stylelint.config.js" \
--exclude="../$(app_name)/README.md" \ --exclude="$(app_name)/README.md" \
--exclude="../$(app_name)/package-lock.json" \ --exclude="$(app_name)/package-lock.json" \
--exclude="../$(app_name)/LICENSE" \ --exclude="$(app_name)/LICENSE" \
--exclude="../$(app_name)/src" \ --exclude="$(app_name)/src" \
--exclude="../$(app_name)/stubs" \ --exclude="$(app_name)/stubs" \
--exclude="../$(app_name)/screens" \ --exclude="$(app_name)/screens" \
--exclude="../$(app_name)/vendor" \ --exclude="$(app_name)/vendor" \
--exclude="../$(app_name)/translationfiles" \ --exclude="$(app_name)/translationfiles" \
--exclude="../$(app_name)/Dockerfile" \ --exclude="$(app_name)/Dockerfile" \
--exclude="../$(app_name)/psalm.xml" \ --exclude="$(app_name)/psalm.xml" \
--exclude="../$(app_name)/renovate.json" \ --exclude="$(app_name)/renovate.json" \
../$(app_name) --exclude="$(app_name)/vite.config.mjs" \
$(app_name)
# Start a nextcloud server on Docker to kickstart developement # Start a nextcloud server on Docker to kickstart developement
.PHONY: dev .PHONY: dev