Skip to content

Commit

Permalink
[tests] add test
Browse files Browse the repository at this point in the history
  • Loading branch information
kLabz committed Feb 6, 2025
1 parent a750fc6 commit 4f34414
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions tests/misc/js/projects/Issue11985/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
test.js
3 changes: 3 additions & 0 deletions tests/misc/js/projects/Issue11985/Macro.hx
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
function init() {
haxe.macro.Compiler.define("js-unflatten", "1");
}
4 changes: 4 additions & 0 deletions tests/misc/js/projects/Issue11985/Main.hx
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
function main() {
haxe.Log.trace("hello");
var haxe = "haxe";
}
4 changes: 4 additions & 0 deletions tests/misc/js/projects/Issue11985/compile.hxml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
-main Main
--macro Macro.init()
-js test.js
-cmd "node test.js"

0 comments on commit 4f34414

Please sign in to comment.