diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 0828552..09c7933 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -15,4 +15,4 @@ jobs: - name: Run stylelint continue-on-error: true if: ${{ always() }} - run: npm run lint:scss + run: npm run stylelint diff --git a/.php_cs.dist b/.php_cs.dist new file mode 100644 index 0000000..f7bbdd8 --- /dev/null +++ b/.php_cs.dist @@ -0,0 +1,18 @@ +getFinder() + ->ignoreVCSIgnored(true) + ->notPath('build') + ->notPath('l10n') + ->notPath('src') + ->notPath('vendor') + ->in(__DIR__); +return $config; diff --git a/Makefile b/Makefile index daab5a0..59bb651 100644 --- a/Makefile +++ b/Makefile @@ -31,19 +31,24 @@ appstore: rsync -a \ --exclude=".git" \ --exclude=".github" \ + --exclude=".tx" \ --exclude=".vscode" \ - --exclude="node_modules" \ --exclude="build" \ + --exclude="node_modules" \ + --exclude="vendor" \ --exclude=".gitignore" \ + --exclude=".php_cs.cache" \ + --exclude=".php_cs.dist" \ --exclude=".prettierignore" \ --exclude=".prettierrc" \ --exclude=".stylelintignore" \ --exclude=".stylelintrc.json" \ + --exclude="composer.json" \ + --exclude="composer.lock" \ --exclude="Makefile" \ --exclude="package-lock.json" \ --exclude="package.json" \ --exclude="screenshot.png" \ - --exclude="translationtool.phar" \ ../$(app_name)/ $(sign_directory)/$(app_name) @if [ -f $(cert_directory)/$(app_name).key ]; then \ echo "Signing app files…"; \