Skip to content

Commit

Permalink
Redo build script to remove Grunt dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
dshanske committed Dec 8, 2024
1 parent 47eb207 commit 182ed3e
Show file tree
Hide file tree
Showing 3,560 changed files with 1,483 additions and 1,430 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
2 changes: 0 additions & 2 deletions .distignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ Gruntfile.js
push.sh
phpunit.xml
phpcs.xml
README.md
readme.md
.travis.yml
.distignore
.gitignore
14 changes: 3 additions & 11 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,8 @@ root = true
[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
indent_style = tab

[*.yml]
indent_style = space
indent_size = 2

[*.md]
trim_trailing_whitespace = false

[{*.txt,wp-config-sample.php}]
end_of_line = crlf
[*.php]
indent_style = tab
indent_size = 4
100 changes: 0 additions & 100 deletions Gruntfile.js

This file was deleted.

15 changes: 14 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@
"wp-cli/i18n-command": "^2.3",
"sebastian/phpcpd": "*",
"yoast/phpunit-polyfills": "^1.0",
"sirbrillig/phpcs-variable-analysis": "^2.11"
"sirbrillig/phpcs-variable-analysis": "^2.11",
"simple-icons/simple-icons": "*",
"scssphp/scssphp": "^1.13.0"
},
"prefer-stable": true,
"scripts": {
Expand All @@ -46,8 +48,19 @@
"phpunit": "./vendor/bin/phpunit",
"setup-wp-tests": "bash bin/install-wp-tests.sh wordpress_test root root 127.0.0.1 latest",
"setup-cp-tests": "bash bin/install-cp-tests.sh cpc_test root root 127.0.0.1 latest",
"copy-simple-icons": "cp vendor/simple-icons/simple-icons/icons/*.svg svgs/simple-icons",
"install-codestandards": [
"Dealerdirect\\Composer\\Plugin\\Installers\\PHPCodeSniffer\\Plugin::run"
],
"build-css": [
"vendor/bin/pscss --style=expanded sass/main.scss css/syn.css",
"vendor/bin/pscss --style=compressed sass/main.scss css/syn.min.css",
"vendor/bin/pscss --style=compressed sass/min.scss css/syn-minimal.min.css",
"vendor/bin/pscss --style=compressed sass/main-medium.scss css/syn-medium.min.css",
"vendor/bin/pscss --style=compressed sass/main-large.scss css/syn-large.min.css",
"vendor/bin/pscss --style=compressed sass/main-bw.scss css/syn-bw.min.css",
"vendor/bin/pscss --style=compressed sass/main-bw-medium.scss css/syn-bw-medium.min.css",
"vendor/bin/pscss --style=compressed sass/main-bw-large.scss css/syn-bw-large.min.css"
]
}
}
3 changes: 1 addition & 2 deletions css/syn-bw-large.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions css/syn-bw-medium.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions css/syn-bw.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions css/syn-large.min.css

Large diffs are not rendered by default.

3 changes: 1 addition & 2 deletions css/syn-medium.min.css

Large diffs are not rendered by default.

3 changes: 1 addition & 2 deletions css/syn-minimal.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 182ed3e

Please sign in to comment.