From 123fdef442dabc14d8e2e5618dff9c092dd4a181 Mon Sep 17 00:00:00 2001 From: Sergey Balitskiy Date: Wed, 10 Apr 2019 13:03:36 +0200 Subject: [PATCH] moved es6 flag, update readme, update hxjs lib to latest --- README.md | 2 ++ client.hxml | 2 -- haxe_libraries/colyseus-hxjs.hxml | 5 +++-- server.hxml | 2 -- 4 files changed, 5 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 2289257..ef02439 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,8 @@ # colyseus-hxjs-examples Examples for [colyseus-hxjs](https://github.com/serjek/colyseus-hxjs) library ported from official [Colyseus examples](https://github.com/colyseus/colyseus-examples) +- Note that since ES6 code is required you should use haxe no earlier than 4.0.0-rc.2 + ### Compile server example ``` lix download diff --git a/client.hxml b/client.hxml index b2aa758..7728038 100644 --- a/client.hxml +++ b/client.hxml @@ -1,5 +1,3 @@ --D js-es=6 - -cp src -main MainClient -dce full diff --git a/haxe_libraries/colyseus-hxjs.hxml b/haxe_libraries/colyseus-hxjs.hxml index c27315c..3b03d55 100644 --- a/haxe_libraries/colyseus-hxjs.hxml +++ b/haxe_libraries/colyseus-hxjs.hxml @@ -1,3 +1,4 @@ -D colyseus-hxjs=0.0.0 -# @install: lix --silent download "gh://github.com/serjek/colyseus-hxjs#18505f2ef9759a6c5a7b55c101da788b5b912e07" into colyseus-hxjs/0.0.0/github/18505f2ef9759a6c5a7b55c101da788b5b912e07 --cp ../colyseus-server-hx/src +# @install: lix --silent download "gh://github.com/serjek/colyseus-hxjs#f94d500b23585b54ab58bfe314bced5d1ccf16d4" into colyseus-hxjs/0.0.0/github/f94d500b23585b54ab58bfe314bced5d1ccf16d4 +-cp ${HAXE_LIBCACHE}/colyseus-hxjs/0.0.0/github/f94d500b23585b54ab58bfe314bced5d1ccf16d4/src +-D js-es=6 \ No newline at end of file diff --git a/server.hxml b/server.hxml index e16a41c..d608c12 100644 --- a/server.hxml +++ b/server.hxml @@ -1,5 +1,3 @@ --D js-es=6 - -cp src -main MainServer -dce full