Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Tests CI

on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: configure
run: |
touch tests/include/pebble_warn_unsupported_functions.h
- name: make test
run: make test

3 changes: 0 additions & 3 deletions .travis.yml

This file was deleted.

6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Linked List [![Build Status](http://img.shields.io/travis/smallstoneapps/linked-list.svg?style=flat-square)](https://travis-ci.org/smallstoneapps/linked-list/) [![npm (scoped)](https://img.shields.io/npm/v/@smallstoneapps/linked-list.svg?maxAge=2592000&style=flat-square)](https://www.npmjs.com/package/@smallstoneapps/linked-list) [![MIT License](http://img.shields.io/badge/license-MIT-lightgray.svg?style=flat-square)](./LICENSE)
# Linked List [![Build Status](https://github.com/pebble-dev/linked-list/actions/workflows/ci.yml/badge.svg?branch=master)](https://github.com/pebble-dev/linked-list/actions/workflows/ci.yml) [![npm (scoped)](https://img.shields.io/npm/v/@rebble/linked-list.svg?maxAge=2592000&style=flat-square)](https://www.npmjs.com/package/@rebble/linked-list) [![MIT License](http://img.shields.io/badge/license-MIT-lightgray.svg?style=flat-square)](./LICENSE)

A simple linked list implementation for Pebble apps and watchfaces.

Expand All @@ -9,7 +9,7 @@ A simple linked list implementation for Pebble apps and watchfaces.
To install the package to your app, use the pebble tool:

```
pebble package install @smallstoneapps/linked-list
pebble package install @rebble/linked-list
```

## Usage
Expand All @@ -18,7 +18,7 @@ pebble package install @smallstoneapps/linked-list
// This is not a complete example, but should demonstrate the basic usage of
// the Linked List library.

#include <@smallstoneapps/linked-list/linked-list.h>
#include <@rebble/linked-list/linked-list.h>

LinkedRoot* root;

Expand Down
9 changes: 5 additions & 4 deletions demo/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@smallstoneaps/linked-list-demo",
"version": "1.1.0",
"name": "@rebble/linked-list-demo",
"version": "1.2.0",
"author": "Matthew Tole",
"description": "Demo app to show the basic usage of the linked-list package",
"main": "src/demo.c",
Expand All @@ -10,7 +10,7 @@
"license": "MIT",
"private": true,
"dependencies": {
"@smallstoneapps/linked-list": "../"
"@rebble/linked-list": "../"
},
"keywords": [
"pebble-app"
Expand All @@ -35,7 +35,8 @@
"basalt",
"chalk",
"diorite",
"emery"
"emery",
"flint"
],
"capabilities": []
}
Expand Down
2 changes: 1 addition & 1 deletion demo/src/demo.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#include <pebble.h>
#include <@smallstoneapps/linked-list/linked-list.h>
#include <@rebble/linked-list/linked-list.h>

static void init(void);
static void deinit(void);
Expand Down
13 changes: 7 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@smallstoneapps/linked-list",
"version": "1.4.0",
"name": "@rebble/linked-list",
"version": "1.5.0",
"description": "Pebble library for doing linked lists",
"main": "src/c/linked-list.c",
"directories": {
Expand All @@ -14,14 +14,14 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/smallstoneapps/linked-list.git"
"url": "git+https://github.com/pebble-dev/linked-list.git"
},
"author": "Matthew Tole <pebble@matthewtole.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/smallstoneapps/linked-list/issues"
"url": "https://github.com/pebble-dev/linked-list/issues"
},
"homepage": "https://github.com/smallstoneapps/linked-list#readme",
"homepage": "https://github.com/pebble-dev/linked-list#readme",
"pebble": {
"projectType": "package",
"sdkVersion": "3",
Expand All @@ -30,7 +30,8 @@
"basalt",
"chalk",
"diorite",
"emery"
"emery",
"flint"
]
},
"files": [
Expand Down
2 changes: 1 addition & 1 deletion tests/linked-list.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#include "unit.h"
#include "linked-list.h"

#define VERSION_LABEL "1.4.0"
#define VERSION_LABEL "1.5.0"

// Colour code definitions to make the output all pretty.
#define KNRM "\x1B[0m"
Expand Down
13 changes: 0 additions & 13 deletions tests/travis-install.sh

This file was deleted.