Skip to content

prebuildcommands

Jason Perkins edited this page Apr 14, 2015 · 7 revisions

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


prebuildcommands

The prebuildcommands function specifies shell commands to run before each build.


prebuildcommands { "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


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

configuration "not windows"
   prebuildcommands { "cp default.config bin/project.config" }
Clone this wiki locally