Changes the directory of sass cache and removes uncessary files from vendor dir when is building
This commit is contained in:
parent
45dd78f524
commit
ebeecf2e3b
|
@ -24,3 +24,4 @@ cypress/screenshots
|
|||
.vscode
|
||||
src/pdf-viewer/pdfjs-dist
|
||||
report.txt
|
||||
.tmp
|
6
build.sh
6
build.sh
|
@ -62,9 +62,13 @@ fi
|
|||
|
||||
|
||||
echo "Updating files in $wp_plugin_dir"
|
||||
|
||||
rm -rf $wp_plugin_dir
|
||||
|
||||
mkdir $wp_plugin_dir
|
||||
cp -R src/* $wp_plugin_dir/
|
||||
|
||||
rsync -axz --exclude='vendor/bin/phpc*' --exclude='vendor/squizlabs' --exclude='vendor/wimg' src/* $wp_plugin_dir/
|
||||
|
||||
rm -rf $wp_plugin_dir/scss
|
||||
|
||||
echo "Build complete!"
|
||||
|
|
|
@ -10,10 +10,10 @@ command -v sass >/dev/null 2>&1 || {
|
|||
echo "Compilando Sass..."
|
||||
cd src/scss
|
||||
|
||||
sass -E 'UTF-8' style.scss:../style.css
|
||||
sass -E 'UTF-8' --cache-location ../../.tmp/sass-cache-1 style.scss:../style.css
|
||||
|
||||
cd ../admin/scss
|
||||
sass -E 'UTF-8' tainacan-admin.scss:../../assets/css/tainacan-admin.css
|
||||
sass -E 'UTF-8' --cache-location ../../../.tmp/sass-cache-2 tainacan-admin.scss:../../assets/css/tainacan-admin.css
|
||||
|
||||
|
||||
echo "Compilação do Sass Concluído!"
|
||||
|
|
|
@ -1,23 +1,23 @@
|
|||
{
|
||||
"_readme": [
|
||||
"This file locks the dependencies of your project to a known state",
|
||||
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
|
||||
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
||||
"This file is @generated automatically"
|
||||
],
|
||||
"content-hash": "b5a7a81dd7eed9bc122ee36e472c6430",
|
||||
"packages": [
|
||||
{
|
||||
"name": "respect/validation",
|
||||
"version": "1.1.x-dev",
|
||||
"version": "1.1.16",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/Respect/Validation.git",
|
||||
"reference": "22f1f14430155c21c1d6ba271a652f28c5057851"
|
||||
"reference": "020ea1ebb5dc626bb7f1958ff49f69172ff589cc"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/Respect/Validation/zipball/22f1f14430155c21c1d6ba271a652f28c5057851",
|
||||
"reference": "22f1f14430155c21c1d6ba271a652f28c5057851",
|
||||
"url": "https://api.github.com/repos/Respect/Validation/zipball/020ea1ebb5dc626bb7f1958ff49f69172ff589cc",
|
||||
"reference": "020ea1ebb5dc626bb7f1958ff49f69172ff589cc",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
|
@ -26,7 +26,6 @@
|
|||
},
|
||||
"require-dev": {
|
||||
"egulias/email-validator": "~1.2",
|
||||
"malkusch/bav": "~1.0",
|
||||
"mikey179/vfsstream": "^1.5",
|
||||
"phpunit/phpunit": "~4.0",
|
||||
"symfony/validator": "~2.6.9",
|
||||
|
@ -37,7 +36,6 @@
|
|||
"ext-bcmath": "Arbitrary Precision Mathematics",
|
||||
"ext-mbstring": "Multibyte String Functions",
|
||||
"fabpot/php-cs-fixer": "Fix PSR2 and other coding style issues",
|
||||
"malkusch/bav": "German bank account validation",
|
||||
"symfony/validator": "Use Symfony validator through Respect\\Validation",
|
||||
"zendframework/zend-validator": "Use Zend Framework validator through Respect\\Validation"
|
||||
},
|
||||
|
@ -69,20 +67,20 @@
|
|||
"validation",
|
||||
"validator"
|
||||
],
|
||||
"time": "2017-10-17T10:15:51+00:00"
|
||||
"time": "2018-05-19T14:26:44+00:00"
|
||||
},
|
||||
{
|
||||
"name": "symfony/polyfill-mbstring",
|
||||
"version": "dev-master",
|
||||
"version": "v1.8.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/symfony/polyfill-mbstring.git",
|
||||
"reference": "2ec8b39c38cb16674bbf3fea2b6ce5bf117e1296"
|
||||
"reference": "3296adf6a6454a050679cde90f95350ad604b171"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/2ec8b39c38cb16674bbf3fea2b6ce5bf117e1296",
|
||||
"reference": "2ec8b39c38cb16674bbf3fea2b6ce5bf117e1296",
|
||||
"url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/3296adf6a6454a050679cde90f95350ad604b171",
|
||||
"reference": "3296adf6a6454a050679cde90f95350ad604b171",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
|
@ -94,7 +92,7 @@
|
|||
"type": "library",
|
||||
"extra": {
|
||||
"branch-alias": {
|
||||
"dev-master": "1.6-dev"
|
||||
"dev-master": "1.8-dev"
|
||||
}
|
||||
},
|
||||
"autoload": {
|
||||
|
@ -128,7 +126,7 @@
|
|||
"portable",
|
||||
"shim"
|
||||
],
|
||||
"time": "2017-10-11T12:05:26+00:00"
|
||||
"time": "2018-04-26T10:06:28+00:00"
|
||||
}
|
||||
],
|
||||
"packages-dev": [
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -198,7 +198,6 @@ class Entity {
|
|||
*
|
||||
*
|
||||
* @param string $prop id of the property
|
||||
* @param mixed $value the value to be setted
|
||||
* @return null|mixed Null on failure, the value that was set on success
|
||||
*/
|
||||
public function get($prop) {
|
||||
|
|
Loading…
Reference in New Issue