From a0f6f2e849d0884259693e7c1df1bc9de6585eb2 Mon Sep 17 00:00:00 2001 From: Laria Carolin Chabowski Date: Tue, 22 Sep 2020 21:30:49 +0200 Subject: Require STE using composer and add autoloading --- build.sh | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) (limited to 'build.sh') diff --git a/build.sh b/build.sh index a30f095..8a6bbcd 100755 --- a/build.sh +++ b/build.sh @@ -11,19 +11,12 @@ setup_directories() { mkdir_if_missing ratatoeskr/plugin_extradata/public mkdir_if_missing ratatoeskr/templates/src/plugintemplates mkdir_if_missing ratatoeskr/templates/transc - mkdir_if_missing ratatoeskr/libs/ste } install_dependencies() { - cd ratatoeskr/libs + composer install - cd ste - wget https://github.com/silvasur/ste/archive/master.zip - unzip master.zip - cp ste-master/ste.php . - cp -r ste-master/src . - rm -rf ste-master master.zip - cd .. + cd ratatoeskr/libs wget http://michelf.com/docs/projets/php-markdown-1.0.1o.zip unzip php-markdown-*.zip @@ -38,6 +31,8 @@ install_dependencies() { rm kses.zip wget http://code.jquery.com/jquery.min.js + + cd ../.. } setup_dev_environment() { -- cgit v1.2.3-54-g00ecf