-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjustfile
More file actions
29 lines (22 loc) · 760 Bytes
/
Copy pathjustfile
File metadata and controls
29 lines (22 loc) · 760 Bytes
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
[unix]
set shell := ["sh", "-cu"]
[windows]
set shell := ["cmd.exe", "/c"]
libata_win := "vendor/libata/win-x64"
libata_linux := "vendor/libata/linux-x64"
[windows]
dev:
watchexec --restart -e cr -- crystal run src/main.cr --link-flags "/LIBPATH:%CD%\{{libata_win}} /LIBPATH:%CD%\libsqlite"
[unix]
dev:
watchexec --restart -e cr -- crystal run src/main.cr --link-flags "-L{{libata_linux}} -Llibsqlite"
[windows]
build:
crystal build src/main.cr -o bin/yozgat.exe --link-flags "/LIBPATH:%CD%\{{libata_win}} /LIBPATH:%CD%\libsqlite"
[unix]
build:
crystal build src/main.cr -o bin/yozgat --link-flags "-L{{libata_linux}} -Llibsqlite"
# Publish a new release. Usage: just publish patch|minor
[windows]
publish bump:
scripts\publish.bat "{{bump}}"