diff options
author | Alexander Köplinger <alex.koeplinger@outlook.com> | 2018-04-04 00:52:43 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-04 00:52:43 +0300 |
commit | f9475164d900ac5d7d9d3b115125ce9cd33cdc67 (patch) | |
tree | cc4afa4bf0aa111d6a633be432181c2f9a930dce /msvc | |
parent | 7a22783f256176e8e595f6a8940584b47dfad8af (diff) |
[genproj] Add Mono.CSharp.pre and fix genproj postbuild bug (#7991)
We weren't emitting the postbuild script.
Diffstat (limited to 'msvc')
-rw-r--r-- | msvc/scripts/Mono.CSharp.pre | 1 | ||||
-rw-r--r-- | msvc/scripts/genproj.cs | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/msvc/scripts/Mono.CSharp.pre b/msvc/scripts/Mono.CSharp.pre new file mode 100644 index 00000000000..fe17f9cc0d3 --- /dev/null +++ b/msvc/scripts/Mono.CSharp.pre @@ -0,0 +1 @@ +$(ProjectDir)\..\..\jay\jay.exe -c -o $(ProjectDir)\$(Platform)-parser.cs $(ProjectDir)\..\..\mcs\cs-parser.jay < $(ProjectDir)\..\..\jay\skeleton.cs diff --git a/msvc/scripts/genproj.cs b/msvc/scripts/genproj.cs index 732c4f4ca15..1e70b65552d 100644 --- a/msvc/scripts/genproj.cs +++ b/msvc/scripts/genproj.cs @@ -1103,7 +1103,7 @@ class MsbuildGenerator { properties.Append ($" </PropertyGroup>{NewLine}"); var prebuild_postbuild = new StringBuilder (); - if (!String.IsNullOrWhiteSpace(prebuild) || !String.IsNullOrWhiteSpace(prebuild)) { + if (!String.IsNullOrWhiteSpace(prebuild) || !String.IsNullOrWhiteSpace(postbuild)) { prebuild_postbuild.Append ($" <PropertyGroup>{NewLine}"); prebuild_postbuild.Append (prebuild); prebuild_postbuild.Append (postbuild); |