Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/windirstat/premake-4.x-stable.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorstarkos <none@none>2009-01-12 23:04:21 +0300
committerstarkos <none@none>2009-01-12 23:04:21 +0300
commit7e635f9685809fe8757dc1cab93e1f9af35100a5 (patch)
treedf6cd9f4d35889ff95b4adfb25dec65e951b48d6 /src/_premake_main.lua
parent09398c7c254199c43b85d072e47018cffc78536b (diff)
Display paths of generated files
Diffstat (limited to 'src/_premake_main.lua')
-rw-r--r--src/_premake_main.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/_premake_main.lua b/src/_premake_main.lua
index 3216dda..c72726d 100644
--- a/src/_premake_main.lua
+++ b/src/_premake_main.lua
@@ -28,7 +28,8 @@
output = tmpl[3](this)
end
if (output) then
- local fname = premake.getoutputname(this, tmpl[1])
+ local fname = path.getrelative(os.getcwd(), premake.getoutputname(this, tmpl[1]))
+ printf("Generating %s...", fname)
local f, err = io.open(fname, "wb")
if (not f) then
error(err, 0)