build: add any scripts

This commit is contained in:
2024-05-27 11:09:02 +03:00
parent f6f729e8d4
commit 4319d66c61
8 changed files with 105 additions and 24 deletions

13
scripts/lint Executable file
View File

@@ -0,0 +1,13 @@
#!/usr/bin/env bash
set -e
cd "$(dirname $(dirname "$0"))" || exit
source $NEKO_SDK/activate
source $HAXE_SDK/activate
haxelib install formatter
haxelib run formatter \
--check \
-s ./src/common/haxe \
-s ./src/client/haxe \
-s ./src/server/haxe \
-s ./src/editor/haxe