Magisk Make - a build helper for Magisk
- A
tmpfsorramfson/tmp - Any
/tmpfolder, really. Though I'd recommend having a ramdisk mounted there. zipplatform-tools- probably a lot more. You'll figure it out.
-
Source the
activatescript from a modern Bash shell. -
Chicken out because my docs are dumpsterfire or you're on Windows -
Run
mgmk initfrom the/modulesfolder you should be in now -
Increase the version with
mgmk inc (major|minor|patch) [module.prop] -
build with
mgmk build .
build.shis run from the project root, which is passed along as$BUILDPATH- very helpful for removing unnecessary folders- Zip is set to replace symlinks with the source file, keep that in mind.
- Some files are removed automagically:
/.gitignore/.git- force-recursively- Anything that matches the glob
*~- use a buildscript if you REALLY need these files