Changed brace style.
This commit is contained in:
parent
237c6f746f
commit
4d7898f723
1 changed files with 6 additions and 12 deletions
18
premake5.lua
18
premake5.lua
|
@ -22,21 +22,18 @@ workspace "ssc"
|
||||||
|
|
||||||
links { "System", "arookas", "grammatica-1.6" }
|
links { "System", "arookas", "grammatica-1.6" }
|
||||||
|
|
||||||
files
|
files {
|
||||||
{
|
|
||||||
"ssc/**.cs",
|
"ssc/**.cs",
|
||||||
"ssc/**.grammar",
|
"ssc/**.grammar",
|
||||||
"ssc/**.bat",
|
"ssc/**.bat",
|
||||||
}
|
}
|
||||||
|
|
||||||
excludes
|
excludes {
|
||||||
{
|
|
||||||
"ssc/bin/**",
|
"ssc/bin/**",
|
||||||
"ssc/obj/**",
|
"ssc/obj/**",
|
||||||
}
|
}
|
||||||
|
|
||||||
prebuildcommands
|
prebuildcommands {
|
||||||
{
|
|
||||||
-- regenerate grammatica classes before compilation begins
|
-- regenerate grammatica classes before compilation begins
|
||||||
"{CHDIR} \"%{prj.location}\"",
|
"{CHDIR} \"%{prj.location}\"",
|
||||||
"java -jar grammatica.jar \"sunscript.grammar\" --csoutput \".\\generated\" --csnamespace \"arookas\" --csclassname \"__sun\"",
|
"java -jar grammatica.jar \"sunscript.grammar\" --csoutput \".\\generated\" --csnamespace \"arookas\" --csclassname \"__sun\"",
|
||||||
|
@ -52,19 +49,16 @@ workspace "ssc"
|
||||||
|
|
||||||
links { "System", "arookas", "SSC" }
|
links { "System", "arookas", "SSC" }
|
||||||
|
|
||||||
files
|
files {
|
||||||
{
|
|
||||||
"frontend/**.cs",
|
"frontend/**.cs",
|
||||||
}
|
}
|
||||||
|
|
||||||
excludes
|
excludes {
|
||||||
{
|
|
||||||
"frontend/bin/**",
|
"frontend/bin/**",
|
||||||
"frontend/obj/**",
|
"frontend/obj/**",
|
||||||
}
|
}
|
||||||
|
|
||||||
postbuildcommands
|
postbuildcommands {
|
||||||
{
|
|
||||||
-- copy stdlib to frontend output so users can import the scripts
|
-- copy stdlib to frontend output so users can import the scripts
|
||||||
"{RMDIR} \"%{cfg.buildtarget.directory}ssc\"",
|
"{RMDIR} \"%{cfg.buildtarget.directory}ssc\"",
|
||||||
"{COPY} \"%{wks.location}stdlib\" \"%{cfg.buildtarget.directory}ssc\"",
|
"{COPY} \"%{wks.location}stdlib\" \"%{cfg.buildtarget.directory}ssc\"",
|
||||||
|
|
Loading…
Reference in a new issue