install messages lint
This commit is contained in:
parent
5066905010
commit
7bd9b0c918
|
@ -1,11 +1,8 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
php -r '
|
php -r '
|
||||||
echo "\n ..::Tainacan Theme::..\n";
|
echo "\n ..::Tainacan Theme::..\n";
|
||||||
|
|
||||||
echo "\nInitiating the installation with composer ... please wait!!\n";
|
|
||||||
echo "Copying files ...\n";
|
echo "Copying files ...\n";
|
||||||
|
echo "Copying Bootstrap Framework ...\n";
|
||||||
echo "\nCopying Bootstrap Framework ...\n\n";
|
|
||||||
|
|
||||||
if (!file_exists("src/assets/vendor/bootstrap")) {
|
if (!file_exists("src/assets/vendor/bootstrap")) {
|
||||||
mkdir("src/assets/vendor/", 0777, true);
|
mkdir("src/assets/vendor/", 0777, true);
|
||||||
|
@ -17,7 +14,7 @@ echo "\nCopying Bootstrap Framework ...\n\n";
|
||||||
copy("vendor/twbs/bootstrap/dist/js/bootstrap.bundle.min.js", "src/assets/vendor/bootstrap/js/bootstrap.min.js");
|
copy("vendor/twbs/bootstrap/dist/js/bootstrap.bundle.min.js", "src/assets/vendor/bootstrap/js/bootstrap.min.js");
|
||||||
recurse_copy("vendor/twbs/bootstrap/js/src", "src/assets/vendor/bootstrap/js/src");
|
recurse_copy("vendor/twbs/bootstrap/js/src", "src/assets/vendor/bootstrap/js/src");
|
||||||
|
|
||||||
echo "Copying Slick Slider...\n\n";
|
echo "Copying Slick Slider...\n";
|
||||||
if (!file_exists("src/assets/vendor/slick")) {
|
if (!file_exists("src/assets/vendor/slick")) {
|
||||||
mkdir("src/assets/vendor/slick/", 0777, true);
|
mkdir("src/assets/vendor/slick/", 0777, true);
|
||||||
mkdir("src/assets/vendor/slick/css", 0777, true);
|
mkdir("src/assets/vendor/slick/css", 0777, true);
|
||||||
|
@ -26,7 +23,7 @@ echo "Copying Slick Slider...\n\n";
|
||||||
}
|
}
|
||||||
recurse_copy("vendor/fabianobn/slick/slick/", "src/assets/vendor/slick/");
|
recurse_copy("vendor/fabianobn/slick/slick/", "src/assets/vendor/slick/");
|
||||||
|
|
||||||
echo "Finished copying files! \n\n";
|
echo "Finished copying files! \n";
|
||||||
|
|
||||||
function recurse_copy($src,$dst) {
|
function recurse_copy($src,$dst) {
|
||||||
$dir = opendir($src);
|
$dir = opendir($src);
|
||||||
|
|
Loading…
Reference in New Issue