mirror of
https://github.com/TrianguloY/LightningLauncher.git
synced 2024-12-26 09:58:20 +01:00
More automation in the documentation generation script
This commit is contained in:
parent
33c04f93e0
commit
dbe42ff975
1 changed files with 14 additions and 1 deletions
|
@ -18,4 +18,17 @@ sed -i 's/getEvent_/getEvent/g' html/reference/net/pierrox/lightning_launcher/sc
|
|||
sed -i 's/getEvent_/getEvent/g' html/reference/net/pierrox/lightning_launcher/script/api/LL.html
|
||||
sed -i 's/getEvent_/getEvent/g' html/reference/current.xml
|
||||
|
||||
scp -r html pierrot@ruby:~/tmp
|
||||
|
||||
echo "beta? y/n [n]"
|
||||
read answer
|
||||
if [ "$answer" = "y" ]; then
|
||||
dir=api-beta
|
||||
else
|
||||
dir=api
|
||||
fi
|
||||
rm -rf llx-$dir
|
||||
cp -r html llx-$dir
|
||||
tar czf llx-$dir.tar.gz llx-$dir
|
||||
scp llx-$dir.tar.gz pierrot@vmail:/home/www/lightninglauncher.com/docs/www/scripting/reference/downloadable
|
||||
ssh pierrot@vmail "cd /home/www/lightninglauncher.com/docs/www/scripting/reference && rm -rf $dir && tar xf downloadable/llx-$dir.tar.gz && mv llx-$dir $dir"
|
||||
rm -rf llx-$dir.tar.gz llx-$dir
|
||||
|
|
Loading…
Reference in a new issue