From 10c996f76218ce486a0ac787f3c79dc7a9d5aa87 Mon Sep 17 00:00:00 2001 From: clown Date: Tue, 1 Dec 2020 13:48:13 +0900 Subject: [PATCH] Fix rakefile. --- Rakefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Rakefile b/Rakefile index 9f731e73b..cb4664c22 100644 --- a/Rakefile +++ b/Rakefile @@ -64,7 +64,7 @@ task :build, [:platform] do |_, e| Rake::Task[:restore].execute branch = %x(git rev-parse --abbrev-ref HEAD).chomp - build = branch.start_with?("netstandard") || branch.start_with?("netcore") ? + build = branch.include?("netstandard") || branch.include?("netcore") ? "dotnet build -c Release" : "msbuild -v:m -p:Configuration=Release" cmd(%(#{build} -p:Platform="#{e.platform}" #{PROJECT}.sln))