All Projects → szensk → moonraker

szensk / moonraker

Licence: MIT License
moonscript build system

Programming Languages

MoonScript
45 projects
perl
6916 projects
shell
77523 projects

Description

Moonraker is a simple build system I use to define common tasks (such as packaging a .love file).

default "echo"

where = windows! and where or which

desc "Find moon's path"
task test: =>
  "MOON_PATH: " .. where "moon" -- results returned from a task are printed to screen

desc "List some stuff"
task dir: "test", =>
  cd, status = echo "%CD%" -- calls to any unknown global will os.execute and return the result (string) and status code (number)
  "PWD: " .. cd

desc "Echo some useless information"
task echo: {"test", "dir"}, =>
  echo "doing echo"

Usage

Simply call moonraker. Without any arguments it will call the default task from the .moonraker file. The first argument is an optional file, the second is the task to run.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].