Get the latest "bleeding edge" yab

View previous topic View next topic Go down

Get the latest "bleeding edge" yab

Post by Admin on Mon Apr 20, 2015 1:56 pm

Copy the following code into a StyledEdit document.

Save the file and set the permissions to executable.

Run the script and move the output folder to your apps directory.

enjoy

Code:
#!sh
git clone https://github.com/bbjimmy/YAB.git
cd YAB/src/
make
make -f resattrMakefile
cp objects*/resattr resattr
fixattributes.sh
mkdir -p /tmp/bf
rm /tmp/bf/*
cp -r ../yab-IDE/BuildFactory/* /tmp/bf/
cp -r * /tmp/bf/
cp ../yab-IDE/src/* /tmp/bf/
pushd /tmp/bf
gcc -o yab-compress yab-compress.c -lz
rm flex.c
yab BuildFactory.yab yab-IDE yab-IDE.yab
RdefApply parts/YAB-IDE.bf.rdef yab-IDE
popd
cp /tmp/bf/yab-IDE ../yab-IDE
cd ..
cp -r src/* yab-IDE/src
mkdir -p bin
cp src/yab bin
cp src/resattr bin
mv -t yab-IDE Documentation
mv -t yab-IDE Localizer
pushd yab-IDE/BuildFactory
gcc -o yab-compress yab-compress.c -lz
popd
case $(alert --info  "make is complete\n Install yab bin to:" "config/bin" "non-packaged/bin" "No") in
   "config/bin")
         cp bin/* /boot/home/config/bin
         ;;
   "non-packaged/bin")
         cp bin/* /boot/home/config/non-packaged/bin
         ;;
   *)
         exit
         ;;
esac


Last edited by Admin on Thu Apr 23, 2015 9:53 am; edited 2 times in total

Admin
Admin

Posts : 7
Join date : 2015-04-19
Location : Coquille Oregon USA

View user profile http://yab-talk.forumotion.com

Back to top Go down

Re: Get the latest "bleeding edge" yab

Post by bbjimmy on Tue Apr 21, 2015 2:16 pm

To upgrade... delete ~/yab_work/BuildFactory and ~/config/settings/yab-ide/ide-settings then run yab-IDE. It will replace the deleed files/folders. Exclamation


Last edited by bbjimmy on Tue Apr 21, 2015 8:20 pm; edited 1 time in total (Reason for editing : typo)
avatar
bbjimmy

Posts : 10
Join date : 2015-04-21
Location : Coquille Oregon

View user profile http://fatelk.com

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum