yab | yet another Basic for HAIKU
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Get the latest "bleeding edge" yab

2 posters

Go down

Get the latest "bleeding edge" yab Empty Get the latest "bleeding edge" yab

Post by Admin 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

https://yab-talk.board-directory.net

Back to top Go down

Get the latest "bleeding edge" yab Empty Re: Get the latest "bleeding edge" yab

Post by bbjimmy 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)
bbjimmy
bbjimmy

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

http://fatelk.com

Back to top Go down

Back to top


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