Copyright | 2020 Gabriele Sales |
---|---|
Safe Haskell | None |
Language | Haskell2010 |
This module provides a custom build hook for automating the creation of AppImage bundles.
Internally, it calls the appimagetool and linuxdeploy utilities which must be already present on the system.
Synopsis
- data AppImage = AppImage {}
- type AppDirCustomize = FilePath -> Args -> BuildFlags -> PackageDescription -> LocalBuildInfo -> IO ()
- appImageBuildHook :: [AppImage] -> Args -> BuildFlags -> PackageDescription -> LocalBuildInfo -> IO ()
Documentation
AppImage | |
|
type AppDirCustomize Source #
= FilePath | AppDir path. |
-> Args | Other parameters as defined in |
-> BuildFlags | |
-> PackageDescription | |
-> LocalBuildInfo | |
-> IO () |
:: [AppImage] | Applications to build. |
-> Args | Other parameters as defined in |
-> BuildFlags | |
-> PackageDescription | |
-> LocalBuildInfo | |
-> IO () |
Hook for building AppImage bundles. Does nothing if the OS is not Linux.
Use this function as a postBuild
hook.