Skip to content

Instantly share code, notes, and snippets.

@deathbeam
Last active Nov 2, 2015
Embed
What would you like to do?
Raxefile example
-- vim: set ft=rb:
-- We can also use Haxe libraries
fs = require("sys/FileSystem")
-- Set default target to build()
def default = build
def build()
-- Copy something
cp("assets/mymusic.ogg", "assets/music/mymusic.ogg")
-- Delete temporary directory
rm("assets/temp")
-- Just some operations with enviroment variables
env.set("ENV_VAR", "my env var")
trace(env.get("ENV_VAR"))
-- Execute command
sh("echo HelloWorld")
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment