work in progress [might break]
This commit is contained in:
parent
8ea6b3748c
commit
c4959c77bb
3 changed files with 38 additions and 17 deletions
|
|
@ -49,6 +49,14 @@ Test
|
||||||
-m Test
|
-m Test
|
||||||
-python test/generated/test.py
|
-python test/generated/test.py
|
||||||
|
|
||||||
|
--next
|
||||||
|
-dce full
|
||||||
|
-cp src
|
||||||
|
xrfragment
|
||||||
|
-lib gdscript
|
||||||
|
-D gdscript-output=dist/godot
|
||||||
|
-D generate_godot_plugin
|
||||||
|
|
||||||
#--next
|
#--next
|
||||||
#
|
#
|
||||||
#-dce full
|
#-dce full
|
||||||
|
|
|
||||||
17
make
17
make
|
|
@ -4,6 +4,8 @@ try(){ set +e; "$@" 2>/dev/null; set -e; }
|
||||||
trace(){ set -x; "$@"; set +x; }
|
trace(){ set -x; "$@"; set +x; }
|
||||||
|
|
||||||
install(){
|
install(){
|
||||||
|
|
||||||
|
general(){
|
||||||
which haxe || {
|
which haxe || {
|
||||||
echo -e "installing haxe..if this fails:\n\n"
|
echo -e "installing haxe..if this fails:\n\n"
|
||||||
echo " 1. install haxe from haxe.org"
|
echo " 1. install haxe from haxe.org"
|
||||||
|
|
@ -20,8 +22,19 @@ install(){
|
||||||
haxelib install hxjava
|
haxelib install hxjava
|
||||||
haxelib install hxcs
|
haxelib install hxcs
|
||||||
haxelib install hscript
|
haxelib install hscript
|
||||||
which javac && haxelib install hxjava 4.2.0
|
which javac && haxelib install hxjava 4.2.0 || "[!] skipping java (no javac found)"
|
||||||
which mono && haxelib install hxcs 4.2.0
|
which mono && haxelib install hxcs 4.2.0 || "[!] skipping C# (no mono found)"
|
||||||
|
}
|
||||||
|
|
||||||
|
godot(){
|
||||||
|
# GoDot support
|
||||||
|
haxelib git gdscript https://github.com/SomeRanDev/reflaxe.GDScript nightly
|
||||||
|
haxelib git godot-api-generator https://github.com/SomeRanDev/Haxe-GodotBindingsGenerator
|
||||||
|
haxelib run godot-api-generator
|
||||||
|
}
|
||||||
|
|
||||||
|
test -z $1 && general
|
||||||
|
test -z $1 || "$@"
|
||||||
}
|
}
|
||||||
|
|
||||||
tests(){
|
tests(){
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
{ pkgs ? import <nixpkgs> {} }:
|
{ pkgs ? import <nixos-unstable> {} }:
|
||||||
|
|
||||||
pkgs.mkShell {
|
pkgs.mkShell {
|
||||||
# nativeBuildInputs is usually what you want -- tools you need to run
|
# nativeBuildInputs is usually what you want -- tools you need to run
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue