Fixed the casing of the configuration
This commit is contained in:
parent
52a72e6b0e
commit
c008b3922d
|
|
@ -7,10 +7,10 @@ projectFile=''
|
|||
Required. Path to the project.json to build.
|
||||
|
||||
configuration=''
|
||||
Optional. The configuration to build in. Defaults to 'debug'.
|
||||
Optional. The configuration to build in. Defaults to 'Debug'.
|
||||
*/}
|
||||
|
||||
default configuration = 'debug'
|
||||
default configuration = 'Debug'
|
||||
default build_options='${E("KPM_build_options")}'
|
||||
var projectFolder='${Path.GetDirectoryName(projectFile)}'
|
||||
var projectName='${Path.GetFileName(projectFolder)}'
|
||||
|
|
@ -19,4 +19,4 @@ var projectBin='${Path.Combine(projectFolder, "bin", configuration)}'
|
|||
directory delete="${projectBin}"
|
||||
exec program='cmd' commandline='/C kpm build${build_options} ${projectFolder} --configuration ${configuration}' if='!IsMono'
|
||||
exec program='kpm' commandline='build${build_options} ${projectFolder} --configuration ${configuration}' if='IsMono'
|
||||
copy sourceDir='${projectBin}' outputDir='${Path.Combine(BUILD_DIR, projectName)}'
|
||||
copy sourceDir='${projectBin}' outputDir='${Path.Combine(BUILD_DIR, projectName)}'
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ default Configuration='${E("Configuration")}'
|
|||
}
|
||||
if (string.IsNullOrEmpty(Configuration))
|
||||
{
|
||||
Configuration = "debug";
|
||||
Configuration = "Debug";
|
||||
E("Configuration", Configuration);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue