mirror of
https://github.com/mwalbeck/nextcloud-breeze-dark.git
synced 2025-04-01 11:52:56 +00:00
Update Makefile, add php_cs.dist file and fix lint workflow
This commit is contained in:
parent
4095cbb414
commit
b1df5d68bd
3 changed files with 26 additions and 3 deletions
2
.github/workflows/lint.yml
vendored
2
.github/workflows/lint.yml
vendored
|
@ -15,4 +15,4 @@ jobs:
|
|||
- name: Run stylelint
|
||||
continue-on-error: true
|
||||
if: ${{ always() }}
|
||||
run: npm run lint:scss
|
||||
run: npm run stylelint
|
||||
|
|
18
.php_cs.dist
Normal file
18
.php_cs.dist
Normal file
|
@ -0,0 +1,18 @@
|
|||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
require_once './vendor/autoload.php';
|
||||
|
||||
use Nextcloud\CodingStandard\Config;
|
||||
|
||||
$config = new Config();
|
||||
$config
|
||||
->getFinder()
|
||||
->ignoreVCSIgnored(true)
|
||||
->notPath('build')
|
||||
->notPath('l10n')
|
||||
->notPath('src')
|
||||
->notPath('vendor')
|
||||
->in(__DIR__);
|
||||
return $config;
|
9
Makefile
9
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…"; \
|
||||
|
|
Loading…
Add table
Reference in a new issue