Skip to content

Commit

Permalink
chore: readme
Browse files Browse the repository at this point in the history
  • Loading branch information
blockarchitech committed Jan 12, 2025
1 parent 1ed240d commit bb0c5c5
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 35 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@ dist/
build/
node_modules/
package-lock.json
.lock-waf*
.lock-waf*
pebble-wrapper.sh
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Pebble Typescript

A somewhat foolproof way to write Pebble apps with PebbleKit JS using TypeScript.

## Usage

1. Clone this repository
2. Open `pebble.py`, and edit `PEBBLE_TOOL_LOCATION` to point to your Pebble Tool location. This can be a wrapper script, or point directly to the `pebble` executable.
3. Run `npm install`
4. Write your TypeScript code in `src/pkts/`
5. Run `npm run build`
6. Your compiled Pebble app will be in `build/pebble-ts.pbw`

To clean, simply run `npm run clean`. This will delete the webpack caches and run `pebble clean` as to not leave any pebble build artifacts behind.
34 changes: 0 additions & 34 deletions pebble-wrapper.sh

This file was deleted.

0 comments on commit bb0c5c5

Please sign in to comment.