-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Moved tuli from macro package to sys package.
LibRunner.hx builds a haxelib run.n file. all.hxml builds all the plugins which are packaged into tuli.
- Loading branch information
Showing
15 changed files
with
1,677 additions
and
467 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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
-lib tjson | ||
-lib mo | ||
-lib detox | ||
-lib klas | ||
-lib tink_core | ||
-lib tink_macro | ||
-lib hxparse | ||
-lib selecthxml | ||
-lib tappi | ||
-lib imagemagick | ||
-cp src | ||
-neko run.n | ||
-D openfl | ||
-main LibRunner | ||
--remap flash:flash |
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,60 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<project version="2"> | ||
<!-- Output SWF options --> | ||
<output> | ||
<movie outputType="Application" /> | ||
<movie input="" /> | ||
<movie path="run.n" /> | ||
<movie fps="0" /> | ||
<movie width="0" /> | ||
<movie height="0" /> | ||
<movie version="1" /> | ||
<movie minorVersion="0" /> | ||
<movie platform="Neko" /> | ||
<movie background="#FFFFFF" /> | ||
</output> | ||
<!-- Other classes to be compiled into your SWF --> | ||
<classpaths> | ||
<class path="src" /> | ||
</classpaths> | ||
<!-- Build options --> | ||
<build> | ||
<option directives="openfl" /> | ||
<option flashStrict="False" /> | ||
<option noInlineOnDebug="False" /> | ||
<option mainClass="LibRunner" /> | ||
<option enabledebug="False" /> | ||
<option additional="--remap flash:flash" /> | ||
</build> | ||
<!-- haxelib libraries --> | ||
<haxelib> | ||
<library name="tjson" /> | ||
<library name="mo" /> | ||
<library name="detox" /> | ||
<library name="klas" /> | ||
<library name="tink_core" /> | ||
<library name="tink_macro" /> | ||
<library name="hxparse" /> | ||
<library name="selecthxml" /> | ||
</haxelib> | ||
<!-- Class files to compile (other referenced classes will automatically be included) --> | ||
<compileTargets> | ||
<compile path="src\Main.hx" /> | ||
</compileTargets> | ||
<!-- Paths to exclude from the Project Explorer tree --> | ||
<hiddenPaths> | ||
<hidden path="obj" /> | ||
</hiddenPaths> | ||
<!-- Executed before build --> | ||
<preBuildCommand /> | ||
<!-- Executed after build --> | ||
<postBuildCommand alwaysRun="False" /> | ||
<!-- Other project options --> | ||
<options> | ||
<option showHiddenPaths="False" /> | ||
<option testMovie="Custom" /> | ||
<option testMovieCommand="run.bat" /> | ||
</options> | ||
<!-- Plugin storage --> | ||
<storage /> | ||
</project> |
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,49 @@ | ||
-lib tuli | ||
-lib mo | ||
-lib detox | ||
-lib beanhx | ||
-lib tjson | ||
-lib selecthxml | ||
-debug | ||
#-dce no | ||
-cp src | ||
|
||
--each | ||
|
||
-neko atom.n | ||
-main uhx.tuli.plugins.Atom | ||
|
||
--next | ||
|
||
-neko boxedimages.n | ||
-main uhx.tuli.plugins.ImageLetterbox | ||
|
||
--next | ||
|
||
-neko importhtml.n | ||
-main uhx.tuli.plugins.ImportHTML | ||
|
||
--next | ||
|
||
-neko markdown.n | ||
-main uhx.tuli.plugins.Markdown | ||
|
||
--next | ||
|
||
-neko nofollow.n | ||
-main uhx.tuli.plugins.NoFollow | ||
|
||
--next | ||
|
||
-neko rss.n | ||
-main uhx.tuli.plugins.RSS | ||
|
||
--next | ||
|
||
-neko socialmetadata.n | ||
-main uhx.tuli.plugins.SocialMetadata | ||
|
||
--next | ||
|
||
-neko titlelinks.n | ||
-main uhx.tuli.plugins.TitleLinks |
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 |
---|---|---|
@@ -1 +1 @@ | ||
--macro uhx.macro.Tuli.initialize() | ||
#--macro uhx.macro.Tuli.initialize() |
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,38 @@ | ||
package ; | ||
|
||
import sys.io.File; | ||
import haxe.io.Path; | ||
import sys.FileSystem; | ||
import haxe.Unserializer; | ||
import uhx.sys.Tuli; | ||
|
||
using haxe.io.Path; | ||
using sys.FileSystem; | ||
|
||
/** | ||
* ... | ||
* @author Skial Bainn | ||
*/ | ||
|
||
class LibRunner { | ||
|
||
static function main() { | ||
trace('main'); | ||
var args = Sys.args(); | ||
var len = args.length; | ||
|
||
var cwd = args.pop().normalize(); | ||
var path = if (len == 3) args.pop() else ''; | ||
var cmd = args.pop(); | ||
|
||
switch (cmd) { | ||
case 'build': | ||
Sys.setCwd( cwd ); | ||
Tuli.initialize(); | ||
|
||
case _: | ||
|
||
} | ||
} | ||
|
||
} |
Oops, something went wrong.