-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathwix.lua
More file actions
38 lines (28 loc) · 704 Bytes
/
wix.lua
File metadata and controls
38 lines (28 loc) · 704 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
--
-- Name: premake-wix/wix.lua
-- Purpose: Define the WIX language action(s).
-- Author: Michael Schwarcz
-- Created: 2016/10/31
-- Copyright: (c) 2016 Michael Schwarcz
--
local p = premake
p.modules.wix = {}
local m = p.modules.wix
--
-- Patch the project table to provide knowledge of WIX projects
--
function p.project.iswix(prj)
return prj.language == premake.WIX
end
--
-- Patch the path table to provide knowledge of WIX file extenstions
--
function path.iswixfile(fname)
return path.hasextension(fname, { ".wixproj" })
end
--
-- Patch actions
--
include( "_preload.lua" )
include( "actions/vstudio.lua" )
return m