diff options
| author | 2022-02-04 15:41:51 +0100 | |
|---|---|---|
| committer | 2022-02-04 15:41:51 +0100 | |
| commit | 5a891dc0e4d1e5c7d36609bba4bd3df5063b9745 (patch) | |
| tree | 4b420f96082fcde911a36ed8fc709ed12a500089 /Makefile | |
| parent | 88b934da8bec70da1400525748336c0b71864b1a (diff) | |
Update dev dependencies stylelint SASS (#4173)
* Update dev dependencies stylelint SASS
Major update for stylelint with breaking changes
https://stylelint.io/migration-guide/to-14/
Applied automatic SASS migration to current syntax
https://sass-lang.com/documentation/cli/migrator#migrations
And a few manual fixes such as:
https://github.com/stylelint-scss/stylelint-scss/blob/master/src/rules/dollar-variable-no-missing-interpolation/README.md
Other dev dependencies are minor updates.
* RTLCSS
* Fix color-hex-length bug
* Implement make bin/composer
* Update git hash
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 21 |
1 files changed, 15 insertions, 6 deletions
@@ -67,6 +67,10 @@ lint: bin/phpcs ## Run the linter on the PHP files lint-fix: bin/phpcbf ## Fix the errors detected by the linter $(PHP) ./bin/phpcbf . -p -s +bin/composer: + mkdir -p bin/ + wget 'https://raw.githubusercontent.com/composer/getcomposer.org/ce43e63e47a7fca052628faf1e4b14f9100ae82c/web/installer' -O - -q | php -- --quiet --install-dir='./bin/' --filename='composer' + bin/phpunit: mkdir -p bin/ wget -O bin/phpunit https://phar.phpunit.de/phpunit-9.5.2.phar @@ -91,6 +95,12 @@ bin/typos: rm *.tar.gz ; \ cd .. +node_modules/.bin/eslint: + npm install + +vendor/bin/phpstan: bin/composer + bin/composer install --prefer-dist --no-progress + ########## ## I18N ## ########## @@ -185,20 +195,19 @@ refresh: ## Refresh feeds by fetching new messages # TODO: Add composer install .PHONY: composer-test -composer-test: - composer run-script test +composer-test: vendor/bin/phpstan + bin/composer run-script test .PHONY: composer-fix composer-fix: - composer run-script fix + bin/composer run-script fix -# TODO: Add npm install .PHONY: npm-test -npm-test: +npm-test: node_modules/.bin/eslint npm test .PHONY: npm-fix -npm-fix: +npm-fix: node_modules/.bin/eslint npm run fix .PHONY: typos-test |
