Alfons.moon handles the source ver of moonbuild, also funny number of commits haha nice

main
Codinget 4 years ago
parent eb28c9c8bb
commit 0f3506c7b7
  1. 14
      Alfons.moon
  2. 5
      README.md

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

@ -27,5 +27,10 @@ You can build moonbuild with itself: `moon bin/moonbuild.moon -qjy`.
This will leave the binary ready to be used as `out/moonbuild` (it will still depend on the library to be used). This will leave the binary ready to be used as `out/moonbuild` (it will still depend on the library to be used).
The binary and library can then be installed with `bin/moonbuild install`. The binary and library can then be installed with `bin/moonbuild install`.
You can combine these steps with `moon bin/moonbuild.moon -qjy install` which will build and install moonbuild.
### With `Alfons`
Alfons can use the devel version of moonbuild directly from its sources, so `alfons build` and `alfons install` will work directly.
## Docs ## Docs
TODO TODO

Loading…
Cancel
Save