This commit is contained in:
MrBesen 2022-03-11 16:21:54 +01:00
commit 29ce33dd06
2 changed files with 26 additions and 0 deletions

2
.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
build-dir/
.flatpak-builder/

View File

@ -0,0 +1,24 @@
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'