-
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of https://github.com/haxeui/haxeui-nme
- Loading branch information
Showing
8 changed files
with
43 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,7 +14,7 @@ os: | |
- linux | ||
|
||
haxe: | ||
- "3.4.2" | ||
- "3.4.4" | ||
- development | ||
|
||
before_install: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
Change Log | ||
--------- | ||
* 0.0.2 | ||
* Enhanced text input / display | ||
* 0.0.1 - Initial Release |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
import haxe.io.Path; | ||
import haxe.macro.Compiler; | ||
import sys.io.Process; | ||
|
||
using StringTools; | ||
|
||
class TravisBuild { | ||
public static function addNmeClasspaths () { | ||
var proc = new Process("haxelib", ["path", "nme"]); | ||
proc.exitCode(); | ||
var path = proc.stdout.readAll().toString().split("\n"); | ||
proc.close(); | ||
|
||
var cp = ""; | ||
for (p in path) { | ||
if (p.startsWith("-L ") || p.startsWith("-D ") || p == "") { | ||
continue; | ||
} | ||
cp = p; | ||
break; | ||
} | ||
|
||
Compiler.addClassPath(Path.join([cp, "src"])); | ||
|
||
if (Compiler.getDefine("NME_NO_HAXE_COMPAT") == null) { | ||
Compiler.addClassPath(Path.join([cp, "src/haxe/compat"])); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
package haxe.ui.backend; | ||
|
||
typedef ToolkitOptions = { | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,4 +13,5 @@ | |
|
||
-cp . | ||
#--no-output | ||
--macro TravisBuild.addNmeClasspaths() | ||
--macro haxe.macro.Compiler.include("haxe.ui") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,4 +13,5 @@ | |
|
||
-cp . | ||
#--no-output | ||
--macro TravisBuild.addNmeClasspaths() | ||
--macro haxe.macro.Compiler.include("haxe.ui") |