Friday, December 5, 2014

PEBBLE Watch - Linux command line to build and deploy

Update file bash_profile, only the first time

echo 'export PATH=~/pebble-dev/PebbleSDK-2.7/bin:$PATH' >> ~/.bash_profile

Execute this line to add the pebble command into the PATH

. ~/.bash_profile

Pebble utility commands

pebble --version
pebble new-project
pebble build
pebble install --phone --logs

How to create bash file to automate build and deploy. Create file with the following content:

echo Setting Pebble Development Environment
pebble build
pebble install --phone --logs

Execute the following on the file

chmod u+x

Execute go to compile and deploy


No comments:

Post a Comment