inital
This commit is contained in:
commit
89a2558f1b
|
@ -0,0 +1 @@
|
|||
*.snap
|
|
@ -0,0 +1,16 @@
|
|||
# TicTacToebot Snap
|
||||
|
||||
Build with:
|
||||
```
|
||||
snapcraft
|
||||
```
|
||||
|
||||
Install with:
|
||||
```
|
||||
snap install --devmode *.snap
|
||||
```
|
||||
|
||||
Run with:
|
||||
```
|
||||
snap run tictactoebot
|
||||
```
|
|
@ -0,0 +1,34 @@
|
|||
name: tictactoebot
|
||||
version: "1.0.0"
|
||||
summary: Tictactoebot
|
||||
description: |
|
||||
A Telegrambot to play tictactoe in Telegram Groupchats
|
||||
|
||||
confinement: devmode
|
||||
base: core18
|
||||
|
||||
parts:
|
||||
tictactoebot:
|
||||
plugin: make
|
||||
source-type: git
|
||||
source: https://git.mrbesen.de/MrBesen/tictactoebot.git
|
||||
source-branch: master
|
||||
artifacts:
|
||||
- tictactoebot
|
||||
makefile: Makefile
|
||||
build-packages:
|
||||
- g++
|
||||
- make
|
||||
- libcurl4-openssl-dev
|
||||
stage-packages:
|
||||
- libcurl4
|
||||
override-build: |
|
||||
git clone --depth=1 --branch=v3.7.3 https://github.com/nlohmann/json.git
|
||||
ln -sr json/include/nlohmann TAPI/include
|
||||
make -j4
|
||||
cp -l tictactoebot $SNAPCRAFT_PART_INSTALL/tictactoebot
|
||||
|
||||
|
||||
apps:
|
||||
tictactoebot:
|
||||
command: tictactoebot
|
Loading…
Reference in New Issue