Replace "wrk" with "wks"

This commit is contained in:
Jason Perkins 2015-07-30 15:30:41 -04:00
parent a82466c6f4
commit 91220c7d71
7 changed files with 24 additions and 24 deletions

View File

@ -28,9 +28,9 @@
dotnet = { "mono", "msnet", "pnet" }
},
onWorkspace = function(wrk)
onWorkspace = function(wks)
premake.escaper(make.esc)
premake.generate(wrk, make.getmakefilename(wrk, false), make.generate_solution)
premake.generate(wks, make.getmakefilename(wks, false), make.generate_solution)
end,
onProject = function(prj)
@ -43,8 +43,8 @@
end
end,
onCleanWorkspace = function(wrk)
premake.clean.file(wrk, make.getmakefilename(wrk, false))
onCleanWorkspace = function(wks)
premake.clean.file(wks, make.getmakefilename(wks, false))
end,
onCleanProject = function(prj)

View File

@ -121,8 +121,8 @@
-- Solution and project generation logic
onWorkspace = function(wrk)
vstudio.vs2005.generateSolution(wrk)
onWorkspace = function(wks)
vstudio.vs2005.generateSolution(wks)
end,
onProject = function(prj)
vstudio.vs2010.generateProject(prj)
@ -131,8 +131,8 @@
vstudio.vs2010.generateRule(rule)
end,
onCleanWorkspace = function(wrk)
vstudio.cleanSolution(wrk)
onCleanWorkspace = function(wks)
vstudio.cleanSolution(wks)
end,
onCleanProject = function(prj)
vstudio.cleanProject(prj)

View File

@ -37,8 +37,8 @@
-- Solution and project generation logic
onWorkspace = function(wrk)
vstudio.vs2005.generateSolution(wrk)
onWorkspace = function(wks)
vstudio.vs2005.generateSolution(wks)
end,
onProject = function(prj)
vstudio.vs2010.generateProject(prj)
@ -47,8 +47,8 @@
vstudio.vs2010.generateRule(rule)
end,
onCleanWorkspace = function(wrk)
vstudio.cleanSolution(wrk)
onCleanWorkspace = function(wks)
vstudio.cleanSolution(wks)
end,
onCleanProject = function(prj)
vstudio.cleanProject(prj)

View File

@ -39,8 +39,8 @@
-- Solution and project generation logic
onWorkspace = function(wrk)
vstudio.vs2005.generateSolution(wrk)
onWorkspace = function(wks)
vstudio.vs2005.generateSolution(wks)
end,
onProject = function(prj)
vstudio.vs2010.generateProject(prj)
@ -49,8 +49,8 @@
vstudio.vs2010.generateRule(rule)
end,
onCleanWorkspace = function(wrk)
vstudio.cleanSolution(wrk)
onCleanWorkspace = function(wks)
vstudio.cleanSolution(wks)
end,
onCleanProject = function(prj)
vstudio.cleanProject(prj)

View File

@ -39,8 +39,8 @@
-- Solution and project generation logic
onWorkspace = function(wrk)
vstudio.vs2005.generateSolution(wrk)
onWorkspace = function(wks)
vstudio.vs2005.generateSolution(wks)
end,
onProject = function(prj)
vstudio.vs2010.generateProject(prj)
@ -49,8 +49,8 @@
vstudio.vs2010.generateRule(rule)
end,
onCleanWorkspace = function(wrk)
vstudio.cleanSolution(wrk)
onCleanWorkspace = function(wks)
vstudio.cleanSolution(wks)
end,
onCleanProject = function(prj)
vstudio.cleanProject(prj)

View File

@ -25,8 +25,8 @@
---
function workspace.new(name)
local wrk = p.container.new(workspace, name)
return wrk
local wks = p.container.new(workspace, name)
return wks
end

View File

@ -247,14 +247,14 @@
--
function test.createWorkspace()
local wrk = workspace("MySolution")
local wks = workspace("MySolution")
configurations { "Debug", "Release" }
local prj = project("MyProject")
language("C++")
kind("ConsoleApp")
return wrk, prj
return wks, prj
end
p.alias(test, "createWorkspace", "createsolution")