This package helps with distributing julia programs by easing the creating of sysimages, relocatable apps and dockerfiles, it's a thin wrapper around PackageCompiler and PrecompileSignatures with some easy-to-use defaults. Currently, it's unregistered so install it with.
]add "https://github.com/onetonfoot/Whale.git"
There are 3 function sysimage
,app
and docker
each takes a module as a argument.
using Whale, MyPkg
Whale.sysimage(MyPkg)
This will build and output a sysimage to ~/.julia/sysimage/MyPkg.<ext>
where <ext>
is the platform specific extension
using Whale, MyPkg
Whale.app(MyPkg)
This will build and output an app to ~/.julia/apps/MyPkg
using Whale, MyPkg
Whale.docker(MyPkg)
This will output a Dockerfile
to the given module's pkgdir
.