Skip to content

postbuildcommands

starkos edited this page Apr 10, 2021 · 8 revisions

⚠️ We have a new website! Visit now for the most update to date documentation.
       This wiki is no longer being maintained.


Specifies shell commands to run after build is finished.

postbuildcommands { "commands" }

Parameters

commands is one or more shell commands. These commands will be passed to the shell exactly as entered, including path separators and the like.

Applies To

Project configurations.

Availability

Premake 4.4 or later.

Examples

configuration "windows"
   postbuildcommands { "copy default.config bin\\project.config" }

configuration "not windows"
   postbuildcommands { "cp default.config bin/project.config" }

See Also

Clone this wiki locally