Skip to content

Commit

Permalink
Fix rakefile.
Browse files Browse the repository at this point in the history
  • Loading branch information
clown committed Dec 1, 2020
1 parent da3d31c commit 10c996f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit 10c996f

Please sign in to comment.