Skip to content

API Reference / @gtkx/config / @gtkx/config / DeployScriptsOptions

Type Alias: DeployScriptsOptions ​

DeployScriptsOptions = object

Defined in: packages/config/src/deploy.ts:354

The deploy.scripts options: maintainer scripts for Debian and RPM packages. Each value is a path to a shell script file, not inline shell; the package carries the file's content.

Properties ​

postInstall? ​

optional postInstall?: string

Defined in: packages/config/src/deploy.ts:366

Path to a shell script, relative to the project root, run after installing a Debian or RPM package.

Default Value ​

None: gtkx deploy adds no script for this step


postRemove? ​

optional postRemove?: string

Defined in: packages/config/src/deploy.ts:378

Path to a shell script, relative to the project root, run after removing a Debian or RPM package.

Default Value ​

None: gtkx deploy adds no script for this step


preInstall? ​

optional preInstall?: string

Defined in: packages/config/src/deploy.ts:360

Path to a shell script, relative to the project root, run before installing a Debian or RPM package.

Default Value ​

None: gtkx deploy adds no script for this step


preRemove? ​

optional preRemove?: string

Defined in: packages/config/src/deploy.ts:372

Path to a shell script, relative to the project root, run before removing a Debian or RPM package.

Default Value ​

None: gtkx deploy adds no script for this step