-
Notifications
You must be signed in to change notification settings - Fork 0
/
Justfile
29 lines (21 loc) · 889 Bytes
/
Justfile
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
set windows-shell := ["powershell.exe", "-ExecutionPolicy", "Unrestricted", "-NoLogo", "-Command"]
default: set-dev lint build-examples build-docs
install-deps:
haxelib install haxelib.json --always
install-dev-deps:
haxelib install dox
haxelib install formatter
set-dev: install-deps install-dev-deps
haxelib dev hxminetest .
lint:
haxelib run formatter --check -s contrib -s examples -s src -s tests
build-examples:
deno run --allow-run=haxe --allow-read=examples scripts/build-examples.ts
build-docs:
haxe -p src -L partials \
--macro "include('doctest')" --macro "include('minetest')" \
--lua not.applicable --no-output \
--xml docs/hxminetest.xml
haxelib run dox -i docs -o docs/pages --include "[mM]inetest.*"
submit-haxelib:
deno run --allow-run --allow-read --allow-write scripts/submit-to-haxelib-interactive.ts