Skip to content

Commit

Permalink
Move to clibs org, replace Travis with GHA
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenmathieson committed Jun 25, 2024
1 parent 21f57a9 commit dde28a2
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 21 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: Tests

on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: make example
- run: ./example
10 changes: 0 additions & 10 deletions .travis.yml

This file was deleted.

19 changes: 9 additions & 10 deletions Readme.md
Original file line number Diff line number Diff line change
@@ -1,29 +1,28 @@

# wiki-registry.c

Turn a GitHub Wiki page into a package registry

[![Build Status](https://travis-ci.org/stephenmathieson/wiki-registry.c.png?branch=master)](https://travis-ci.org/stephenmathieson/wiki-registry.c)
Turn a GitHub Wiki page into a package registry

## Installation

Install with [clib(1)](https://github.com/clibs/clib):
Install with [clib(1)](https://github.com/clibs/clib):

$ clib install stephenmathieson/wiki-registry.c
```
$ clib install clibs/wiki-registry.c
```

## API

### `list_t *wiki_registry_parse(const char *html)`

Get a [list](https://github.com/clibs/list) of packages from the given `html`.
Get a [list](https://github.com/clibs/list) of packages from the given `html`.

### `list_t *wiki_registry_packages(const char *url)`

Get a [list](https://github.com/clibs/list) of packages from the given GitHub wiki `url`.
Get a [list](https://github.com/clibs/list) of packages from the given GitHub wiki `url`.

### `void wiki_package_free(wiki_package_t *pkg)`

Free a wiki `pkg`.
Free a wiki `pkg`.

## Example

Expand Down Expand Up @@ -77,4 +76,4 @@ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "wiki-registry",
"version": "0.0.4",
"repo": "stephenmathieson/wiki-registry.c",
"repo": "clibswiki-registry.c",
"description": "Turn a GitHub Wiki page into a package registry",
"keywords": [ "registry", "github", "wiki" ],
"license": "MIT",
Expand Down

0 comments on commit dde28a2

Please sign in to comment.