mirror of https://github.com/natnat-mc/moonbuild
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
387 B
14 lines
387 B
require 'moonscript'
|
|
moonbuild = require 'moonbuild'
|
|
|
|
tasks:
|
|
release: =>
|
|
error "no version provided" unless @v
|
|
tasks.build!
|
|
sh "rockbuild -m -t #{@v} upload"
|
|
|
|
watch: => watch {'.'}, {'.git'}, 'live', (glob '*.moon'), pcall -> moonbuild j: true
|
|
build: => moonbuild j: true
|
|
install: => moonbuild 'install', j: true
|
|
clean: => moonbuild 'clean'
|
|
mrproper: => moonbuild 'mrproper'
|
|
|