A compromise between the speed of make and the ease of use of a build script
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.
 
 
 
moonbuild/Alfons.moon

13 lines
407 B

tasks:
bootstrap: => sh "moon bin/moonbuild.moon -jy"
bootstrapinstall: => sh "moon bin/moonbuild.moon install -jy"
release: =>
error "no version provided" unless @v
tasks.build!
sh "rockbuild -m -t #{@v} upload"
build: => (require 'moonbuild') j: true
install: => (require 'moonbuild') 'install', j: true
clean: => (require 'moonbuild') 'clean'
mrproper: => (require 'moonbuild') 'mrproper'