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" }
|
||||
|
||||
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\"",
|
||||
|
|
Loading…
Reference in a new issue