Skip to content

postbuildcommands

TurkeyMan edited this page Mar 12, 2015 · 8 revisions

Home > [Project API](Project API) > postbuildcommands


postbuildcommands

The postbuildcommands function specifies shell commands to run after build is finished.

#!lua
postbuildcommands { "commands" }

Applies To

Solutions, projects, and configurations.

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.

See Also

Examples

#!lua
configuration "windows"
   postbuildcommands { "copy default.config bin\\project.config" }
 
configuration "not windows"
   postbuildcommands { "cp default.config bin/project.config" }
Clone this wiki locally