-
Notifications
You must be signed in to change notification settings - Fork 19
/
Taskfile.yml
39 lines (35 loc) · 935 Bytes
/
Taskfile.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
version: 3
tasks:
default:
dir: build
cmds:
- cmake .. -DCMAKE_BUILD_TYPE=Debug
- make
build:release:
dir: build
cmds:
- cmake .. -DCMAKE_BUILD_TYPE=Release
- cmake --build . --config Release
pkg:linux:
dir: releases/linux
cmds:
- mkdir -p {plugins,includes}
- cp ../../test/plugins/requests.so ./plugins/requests.so
- cp ../../*.inc ./includes
- 7z a -r ../pawn-requests-linux.zip *
pkg:windows:
dir: releases/windows
cmds:
- mkdir -p {plugins,includes}
- cp ../../test/plugins/requests.dll ./plugins/requests.dll
- cp ../../*.inc ./includes
- 7z a -r ../pawn-requests-windows.zip *
docker:linux:
cmds:
- rm -rf build
- docker build --no-cache -t southclaws/requests-build .
- docker run \
-v $(shell pwd):/build \
southclaws/requests-build
env:
DOCKER_BUILDKIT: 1