Skip to content

Commit

Permalink
🔨 add shipp manifest
Browse files Browse the repository at this point in the history
  • Loading branch information
linkdd committed Jan 28, 2024
1 parent 9a24b51 commit fbbf299
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
/build
/.vscode
/.shipp
6 changes: 6 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
DESTDIR := /usr/local

.PHONY: test
test:
@make -C tests all

.PHONY: docs
docs:
@make -C docs all

.PHONY: install
install:
@cp -R include/ $(DESTDIR)
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,22 @@ $ g++ -std=c++23 -Iaitoolkit/include main.cpp -o mygame

> **NB:** This library is compatible with C++20.
Or using [Shipp](https://github.com/linkdd/shipp), add it to your dependencies:

```json
{
"name": "myproject",
"version": "0.1.0",
"dependencies": [
{
"name": "aitoolkit",
"url": "https://github.com/linkdd/aitoolkit.git",
"version": "v0.5.0"
}
]
}
```

## Usage

### Finite State Machine
Expand Down
8 changes: 8 additions & 0 deletions shipp.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"name": "aitoolkit",
"version": "0.5.0",
"scripts": {
"build": "true",
"install": "make install DESTDIR=$SHIPP_DIST_DIR"
}
}

0 comments on commit fbbf299

Please sign in to comment.