Update file bash_profile, only the first time
echo 'export PATH=~/pebble-dev/PebbleSDK-2.7/bin:$PATH' >> ~/.bash_profile
. ~/.bash_profile
Pebble utility commands
pebble --version
pebble new-project
pebble buildpebble install --phone 192.168.1.5 --logs
How to create bash file to automate build and deploy. Create file go.sh with the following content:
#!/bin/bash
echo Setting Pebble Development Environment
pebble build
pebble install --phone 192.168.1.5 --logs
http://developer.getpebble.com/sdk/migration-guide/
pebble build
pebble install --phone 192.168.1.5 --logs
Execute the following on the file
chmod u+x go.sh
Execute go to compile and deploy
./go.sh
http://developer.getpebble.com/sdk/migration-guide/
No comments:
Post a Comment