aboutsummaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
authorLaria Carolin Chabowski <laria@laria.me>2020-09-22 21:30:49 +0200
committerLaria Carolin Chabowski <laria@laria.me>2020-09-22 21:41:13 +0200
commita0f6f2e849d0884259693e7c1df1bc9de6585eb2 (patch)
tree99a8fad184309f39494de8c97eb2a3a7465f72de /build.sh
parent7f3cb06630bcb1c81c68e0153d923584f233e38d (diff)
downloadratatoeskr-cms-a0f6f2e849d0884259693e7c1df1bc9de6585eb2.tar.gz
ratatoeskr-cms-a0f6f2e849d0884259693e7c1df1bc9de6585eb2.tar.bz2
ratatoeskr-cms-a0f6f2e849d0884259693e7c1df1bc9de6585eb2.zip
Require STE using composer and add autoloading
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh13
1 files changed, 4 insertions, 9 deletions
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() {