mirror of
https://github.com/OpenMW/openmw.git
synced 2025-04-19 19:06:48 +00:00
Use install_luadocumentor_in_docker for teal_ci
This commit is contained in:
parent
a8d32ebdca
commit
c31d872f18
2 changed files with 3 additions and 31 deletions
|
@ -1,36 +1,9 @@
|
||||||
pushd .
|
pushd .
|
||||||
|
|
||||||
echo "Install lua 5.1"
|
docs/source/install_luadocumentor_in_docker.sh
|
||||||
cd ~
|
|
||||||
curl -R -O https://www.lua.org/ftp/lua-5.1.5.tar.gz
|
|
||||||
tar -zxf lua-5.1.5.tar.gz
|
|
||||||
rm lua-5.1.5.tar.gz
|
|
||||||
cd lua-5.1.5/
|
|
||||||
make linux
|
|
||||||
cd ~
|
|
||||||
PATH=$PATH:~/lua-5.1.5/src
|
|
||||||
|
|
||||||
echo "Install luarocks"
|
|
||||||
luarocksV="3.9.2"
|
|
||||||
wget https://luarocks.org/releases/luarocks-$luarocksV.tar.gz
|
|
||||||
tar zxpf luarocks-$luarocksV.tar.gz
|
|
||||||
rm luarocks-$luarocksV.tar.gz
|
|
||||||
cd luarocks-$luarocksV/
|
|
||||||
./configure --with-lua-bin=$HOME/lua-5.1.5/src --with-lua-include=$HOME/lua-5.1.5/src --prefix=$HOME/luarocks
|
|
||||||
make build
|
|
||||||
make install
|
|
||||||
cd ~
|
|
||||||
rm -r luarocks-$luarocksV
|
|
||||||
PATH=$PATH:~/luarocks/bin
|
PATH=$PATH:~/luarocks/bin
|
||||||
|
|
||||||
echo "Install openmwluadocumentor"
|
|
||||||
git clone https://gitlab.com/ptmikheev/openmw-luadocumentor.git
|
|
||||||
cd openmw-luadocumentor
|
|
||||||
luarocks make luarocks/openmwluadocumentor-0.2.0-1.rockspec
|
|
||||||
cd ~
|
|
||||||
rm -r openmw-luadocumentor
|
|
||||||
|
|
||||||
|
|
||||||
echo "Install Teal Cyan"
|
echo "Install Teal Cyan"
|
||||||
git clone https://github.com/teal-language/cyan.git --depth 1
|
git clone https://github.com/teal-language/cyan.git --depth 1
|
||||||
cd cyan
|
cd cyan
|
||||||
|
|
5
docs/source/install_luadocumentor_in_docker.sh
Normal file → Executable file
5
docs/source/install_luadocumentor_in_docker.sh
Normal file → Executable file
|
@ -28,8 +28,7 @@ PATH=$PATH:~/luarocks/bin
|
||||||
|
|
||||||
echo "Install openmwluadocumentor"
|
echo "Install openmwluadocumentor"
|
||||||
git clone https://gitlab.com/ptmikheev/openmw-luadocumentor.git
|
git clone https://gitlab.com/ptmikheev/openmw-luadocumentor.git
|
||||||
cd openmw-luadocumentor/luarocks
|
cd openmw-luadocumentor
|
||||||
luarocks --local pack openmwluadocumentor-0.2.0-1.rockspec
|
luarocks make luarocks/openmwluadocumentor-0.2.0-1.rockspec
|
||||||
luarocks --local install openmwluadocumentor-0.2.0-1.src.rock
|
|
||||||
cd ~
|
cd ~
|
||||||
rm -r openmw-luadocumentor
|
rm -r openmw-luadocumentor
|
||||||
|
|
Loading…
Reference in a new issue