Skip to content

Commit

Permalink
updated example.hxml: commented out hxssl since it's no longer needed…
Browse files Browse the repository at this point in the history
… in haxe 3.3, added js target (also added html file to run it)
  • Loading branch information
romamik authored and romamik committed Nov 2, 2016
1 parent 8a62a99 commit 94aa3bc
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
10 changes: 8 additions & 2 deletions example.hxml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@

-neko output/out.n
-cp src
-D hxssl=1
-lib hxssl:3.0.0-alpha
#-D hxssl=1
#-lib hxssl:3.0.0-alpha
-main haxe.net.example.WebSocketExample

--next

-js output/out.js
-cp src
-main haxe.net.example.WebSocketExample
6 changes: 6 additions & 0 deletions examplejs.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<!DOCTYPE html>
<html>
<body>
<script src="build/out.js"></script>
</body>
</html>

0 comments on commit 94aa3bc

Please sign in to comment.