cabal-appimage-0.3.0.1: Cabal support for creating AppImage applications
Copyright2020 Gabriele Sales
Safe HaskellNone
LanguageHaskell2010

Distribution.AppImage

Description

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

Documentation

data AppImage Source #

Constructors

AppImage 

Fields

type AppDirCustomize Source #

Arguments

 = FilePath

AppDir path.

-> Args

Other parameters as defined in postBuild.

-> BuildFlags 
-> PackageDescription 
-> LocalBuildInfo 
-> IO () 

appImageBuildHook Source #

Arguments

:: [AppImage]

Applications to build.

-> Args

Other parameters as defined in postBuild.

-> BuildFlags 
-> PackageDescription 
-> LocalBuildInfo 
-> IO () 

Hook for building AppImage bundles. Does nothing if the OS is not Linux.

Use this function as a postBuild hook.