First, go to http://www.haxenme.org/download and install NME.
Since Cordova support is a beta feature, we will continue to improve NME's support of Cordova over time. If you want, you can get the latest development build here:
<?xml version="1.0" encoding="utf-8"?> | |
<project> | |
<!-- <meta /> | |
Use meta nodes to set metadata for your application. The description is ignored | |
on most targets, but is useful for packaging like Chrome Apps or Opera Widgets. | |
For compatibility with Android and webOS, the package name must include at least |
First, go to http://www.haxenme.org/download and install NME.
Since Cordova support is a beta feature, we will continue to improve NME's support of Cordova over time. If you want, you can get the latest development build here:
#!/bin/sh | |
# Redirect output to stderr. | |
exec 1>&2 | |
# enable user input | |
exec < /dev/tty | |
consoleregexp='console.log' | |
# CHECK | |
if test $(git diff --cached | grep $consoleregexp | wc -l) != 0 | |
then |
git branch -m old_branch new_branch # Rename branch locally | |
git push origin :old_branch # Delete the old branch | |
git push --set-upstream origin new_branch # Push the new branch, set local branch to track the new remote |
import haxe.macro.Context; | |
import haxe.macro.Expr; | |
import haxe.macro.ExprTools; | |
class ClassBuild{ | |
//the entire contents of a class is contained in the class's fields | |
//a class-building-macro's job is to return an array of fields | |
static function saveClass():Array<Field>{ |
git fetch --all -p; git branch -vv | grep ": gone]" | awk '{ print $1 }' | xargs -r -n 1 git branch -D |
package; | |
#if macro | |
import haxe.Json; | |
import haxe.macro.Context; | |
import haxe.macro.Expr; | |
import haxe.macro.Type; | |
import sys.io.File; | |
import sys.FileSystem; |
#include <stdint.h> | |
#include <stdio.h> | |
#include <stdlib.h> | |
// munged from https://github.com/simontime/Resead | |
namespace sead | |
{ | |
class Random | |
{ |