Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Missing build files accidentally excluded because of a buggy .gitignore.
- Loading branch information
Showing
11 changed files
with
203 additions
and
0 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 | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,16 @@ | |||
|
|||
<project name="hydrax" default="build" basedir="."> | |||
<description> | |||
Useful build tasks for hydrax based game projects. | |||
</description> | |||
|
|||
<target name="updatejslibs" description="Downloads latest versions of js libs"> | |||
<exec executable="wget" > | |||
<arg value="-O"/> | |||
<arg value="lib/js/modernizr.js"/> | |||
<arg value="https://raw.github.com/Modernizr/Modernizr/master/modernizr.js"/> | |||
</exec> | |||
</target> | |||
|
|||
|
|||
</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 | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,7 @@ | |||
../base-flash.hxml | |||
|
|||
-D debug | |||
|
|||
-swf-lib ../../lib/MinimalComps.swf | |||
|
|||
-swf9 build/demo.swf |
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 | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,4 @@ | |||
../base-js.hxml | |||
|
|||
-js build/demo.js | |||
-main Demo |
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 | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,19 @@ | |||
#!/usr/bin/env python | |||
# calls haxe <build file> on all build files in the root demo directories | |||
|
|||
import os, os.path, sys, re | |||
|
|||
os.chdir(os.path.dirname(__file__)) | |||
|
|||
root = os.getcwd() | |||
|
|||
for f in os.listdir(root): | |||
if os.path.isdir(os.path.join(root, f)): | |||
print "Project " + f | |||
|
|||
for projectFile in os.listdir(os.path.join(root, f)): | |||
os.chdir(os.path.join(root, f)) | |||
|
|||
if projectFile.endswith(".hxml") and projectFile.find("cpp") == -1: | |||
print " " + projectFile | |||
os.system("haxe " + projectFile) |
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 | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,40 @@ | |||
|
|||
<project name="screennavigation" default="buildcanvas" basedir="."> | |||
<description> | |||
Build file for the game project. Contains targets to all relevant scripts. | |||
</description> | |||
<import file="../../../hydrax/build.xml" /> | |||
<property file="build.properties" /> | |||
<!--<property file="config.properties" />--> | |||
<!-- set global properties for this build --> | |||
<property name="src" location="${basedir}/src"/> | |||
<property name="hxml" location="${basedir}/etc"/> | |||
<property name="bin" location="${basedir}/bin"/> | |||
<property name="etc" location="${basedir}/etc"/> | |||
<property name="build" location="${basedir}/build"/> | |||
<property name="haxe" value="/usr/bin/haxe"/> | |||
<property name="neko" value="/usr/bin/neko"/> | |||
|
|||
<target name="init"> | |||
<!-- Create the time stamp --> | |||
<tstamp/> | |||
<!-- Copy resources --> | |||
<mkdir dir="${build}"/> | |||
|
|||
</target> | |||
|
|||
<target name="buildflash" depends="init" > | |||
<echo message="Building flash client..."/> | |||
<exec executable="haxe"> | |||
<arg value="${hxml}/buildflash.hxml"/> | |||
</exec> | |||
</target> | |||
|
|||
<target name="buildcanvas" depends="init" > | |||
<echo message="Building HTML5 canvas client..."/> | |||
<exec executable="haxe"> | |||
<arg value="${hxml}/buildcanvas.hxml"/> | |||
</exec> | |||
</target> | |||
|
|||
</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 | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,28 @@ | |||
-D use_rtti_doc | |||
-D debug | |||
-D haxedev | |||
-D use_html5_canvas_as_default_scene_layer | |||
# -D debug_graphics | |||
|
|||
-lib hydrax | |||
-lib jQueryExtern | |||
-lib html5 | |||
# -lib jeash | |||
|
|||
-cp src | |||
-cp rsrc | |||
|
|||
--remap flash:jeash | |||
-js canvas/haxe.js | |||
|
|||
-main Demo | |||
|
|||
-cmd cp etc/indexcanvas.html canvas/index.html | |||
|
|||
--next | |||
|
|||
-cmd cp etc/indexcanvas.xhtml canvas/index.xhtml | |||
|
|||
--next | |||
|
|||
-cmd cp -r rsrc canvas/ |
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 | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,17 @@ | |||
-D use_rtti_doc | |||
-D debug | |||
-D haxedev | |||
|
|||
-cp src | |||
-lib hydrax | |||
-lib jQueryExtern | |||
|
|||
--remap flash:jeash | |||
-js css/haxe.js | |||
|
|||
-main Demo | |||
|
|||
--next | |||
-cmd cp indexcss.xhtml css/index.xhtml | |||
--next | |||
-cmd open css/index.xhtml |
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 | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,25 @@ | |||
#build file | |||
-D use_rtti_doc | |||
-D debug | |||
-D enable_svgweb | |||
-D haxedev | |||
|
|||
-lib hydrax | |||
-lib gm2d | |||
|
|||
-cp src | |||
-cp rsrc | |||
|
|||
-swf-lib ../../lib/svgweb/svgweb.swf | |||
-swf-lib rsrc/resources.swf | |||
-swf-version 10 | |||
-swf flash/demo.swf | |||
-swf-header 970:850:30:FFFFFF | |||
|
|||
-main Demo | |||
|
|||
-cmd cp etc/indexflash.xhtml flash/index.xhtml | |||
|
|||
--next | |||
|
|||
-cmd cp -r rsrc canvas/ |
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 | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,16 @@ | |||
../base-js.hxml | |||
|
|||
-D debug | |||
-D haxedev | |||
-D canvas | |||
|
|||
-js canvas/demo.js | |||
|
|||
-main Demo | |||
|
|||
-cmd cp indexcanvas.xhtml canvas/index.xhtml | |||
|
|||
--next | |||
|
|||
-cmd cp src/js/* canvas/ | |||
|
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 | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,14 @@ | |||
../base-js.hxml | |||
|
|||
-D debug | |||
-D haxedev | |||
|
|||
-js css/demo.js | |||
|
|||
-main Demo | |||
|
|||
-cmd cp indexcss.xhtml css/index.xhtml | |||
|
|||
--next | |||
|
|||
-cmd cp src/js/* css/ |
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 | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,17 @@ | |||
#build file | |||
-D use_rtti_doc | |||
-D debug | |||
-D enable_svgweb | |||
-D haxedev | |||
|
|||
-lib hydrax | |||
-cp src | |||
|
|||
-swf-lib ../../lib/svgweb/svgweb.swf | |||
-swf-version 10 | |||
-swf flash/demo.swf | |||
-swf-header 970:850:30:FFFFFF | |||
|
|||
-main Demo | |||
|
|||
-cmd cp indexflash.xhtml flash/index.xhtml |