Skip to content
This repository has been archived by the owner on Jan 21, 2020. It is now read-only.

Commit

Permalink
Makefile fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Roelof Roos committed Oct 18, 2018
1 parent e11d3c1 commit 5d9590d
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions gumbo-millennium/Makefile
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
.PHONY: plugin.zip install lint

install:
composer install --no-progress --no-suggest -an
yarn install --frozen-lockfile
composer install --no-progress --no-suggest -an
yarn install --frozen-lockfile

lint:
# Lint PHP code
vendor/bin/phpcs
# Lint PHP code
vendor/bin/phpcs

# Lint Sass files
find lib/sass -type f -name '*.scss' -print | xargs node_modules/.bin/stylelint
# Lint Sass files
find lib/sass -type f -name '*.scss' -print | xargs node_modules/.bin/stylelint

# Lint Javascript
find lib/ -type f -name '*.js' -print | xargs node_modules/.bin/eslint
find lib/ -type f -name '*.jsx' -print | xargs node_modules/.bin/eslint
# Lint Javascript
find lib/ -type f -name '*.js' -print | xargs node_modules/.bin/eslint
find lib/ -type f -name '*.jsx' -print | xargs node_modules/.bin/eslint

plugin.zip: gumbo-millennium.zip
cp gumbo-millennium.zip plugin.zip
Expand Down

0 comments on commit 5d9590d

Please sign in to comment.