From 4d7898f7235031b8119118ca0c704d21eb06eac0 Mon Sep 17 00:00:00 2001 From: arookas Date: Mon, 28 Dec 2015 00:48:47 -0500 Subject: [PATCH] Changed brace style. --- premake5.lua | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/premake5.lua b/premake5.lua index 8cdbb96..386a6e8 100644 --- a/premake5.lua +++ b/premake5.lua @@ -22,21 +22,18 @@ workspace "ssc" links { "System", "arookas", "grammatica-1.6" } - files - { + files { "ssc/**.cs", "ssc/**.grammar", "ssc/**.bat", } - excludes - { + excludes { "ssc/bin/**", "ssc/obj/**", } - prebuildcommands - { + prebuildcommands { -- regenerate grammatica classes before compilation begins "{CHDIR} \"%{prj.location}\"", "java -jar grammatica.jar \"sunscript.grammar\" --csoutput \".\\generated\" --csnamespace \"arookas\" --csclassname \"__sun\"", @@ -52,19 +49,16 @@ workspace "ssc" links { "System", "arookas", "SSC" } - files - { + files { "frontend/**.cs", } - excludes - { + excludes { "frontend/bin/**", "frontend/obj/**", } - postbuildcommands - { + postbuildcommands { -- copy stdlib to frontend output so users can import the scripts "{RMDIR} \"%{cfg.buildtarget.directory}ssc\"", "{COPY} \"%{wks.location}stdlib\" \"%{cfg.buildtarget.directory}ssc\"",