24 lines
626 B
YAML
24 lines
626 B
YAML
|
app-id: de.ygerlach.Tictactoebot
|
||
|
runtime: org.freedesktop.Platform
|
||
|
runtime-version: '21.08'
|
||
|
sdk: org.freedesktop.Sdk
|
||
|
command: tictactoebot
|
||
|
finish-args:
|
||
|
- --share=network
|
||
|
cleanup:
|
||
|
modules:
|
||
|
- name: bot
|
||
|
buildsystem: simple
|
||
|
build-commands:
|
||
|
- ln -sr json/include/nlohmann tttb/TAPI/include
|
||
|
- make -j -C tttb
|
||
|
- install -D tttb/tictactoebot /app/bin/tictactoebot
|
||
|
sources:
|
||
|
- type: git
|
||
|
url: https://github.com/nlohmann/json.git
|
||
|
tag: 'v3.7.3'
|
||
|
dest: 'json'
|
||
|
- type: git
|
||
|
url: https://git.mrbesen.de/MrBesen/tictactoebot.git
|
||
|
branch: master
|
||
|
dest: 'tttb'
|