mirror of
https://github.com/natnat-mc/moonbuild
synced 2026-06-05 17:49:40 +02:00
Alfons.moon handles the source ver of moonbuild, also funny number of commits haha nice
This commit is contained in:
+7
-7
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user