#BB10-WebWorks-Packager
##Prerequisites
- Install node and npm and add to path. Download Here
- Install BlackBerry Native SDK. Download Here
- Install BlackBerry 10 WebWorks SDK. Download Here
- Install CMake. Download Here
- Add BlackBerry Native SDK bin directory to path. i.e. Installation Directory\host\win32\x86\usr\bin
- Add CMake bin to path. i.e. Installation Directory\bin
- Add Git bin to path. i.e. Installation Directory\bin [Windows only]
##Setup and Build
git clone https://github.com/blackberry-webworks/BB10-Webworks-Packager.git
cd BB10-WebWorks-Packager
git checkout next
- Copy the
dependencies
directory from the BlackBerry 10 WebWorks SDK installation directory intoBB10-WebWorks-Packager
- On windows run
*BBNDK Installation Directory*\bbndk-env.bat
. This needs to be run each time before you configure. On Mac, you can simply addsource *installation directory here*/bbndk-env.sh
to your bash profile - Run
./configure
on Mac orbash configure
on Windows. Please note, on Windows the configure script needs to be run from command prompt. - Run
jake test
and check that jake runs and completes
##Building an application
On Mac:
./bbwp test/test.zip -o <output dir>
On Windows:
bbwp.bat test\test.zip -o <output dir>