dotkit 0.0.29 → 0.0.30

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/dotkit.rb +6 -3
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6de12ed102d591e38033aa1a7ea7c2219f4779db9397b56f68d7b72e57ee58d6
4
- data.tar.gz: 2a6d46cc7a92493380c022d06ebc9e73d628257ad972a1f56d688411337c6fff
3
+ metadata.gz: 0f486508bad2c07a0b31d1216c4f776f90c4b22de48fcf3fcdb1e005466900d5
4
+ data.tar.gz: bab00d072bf646781c6538fc728a551d62b84f3b143d673b7270ac743abc6374
5
5
  SHA512:
6
- metadata.gz: 7737337d6b10ebf41d331fecacd12387a11353b666381edb845838a2fe1a906c633a3a656f78bf2ed287fb446090844fd56ab7820f9eb7642a2cd7d20e3d19de
7
- data.tar.gz: 669da844ccfddb12325ca91276855a578f0d1aece956fdbc34d62d5a4c80615cb619d65399fe6edea572754ab2982b492dc20a20525588342d2379803b43e438
6
+ metadata.gz: b0b20848648098b01d015f94b6984b245825814218f734d4984f1cca02dd73d87f02b7fd55850a8b886aaaf8b11603adcaca26f0adb0f6bf57455d4aa2ad1b26
7
+ data.tar.gz: c21513b5cd1ba8ed7f00ac14d17620321ad2f39e1fcb7baa54eae5174de7f10458cb9be438130cca3551eed585440281968eddc3ed0c4378298250488c274195
@@ -15,10 +15,13 @@ task :build do
15
15
  if(text.include?('<OutputType>Exe</OutputType>') ||
16
16
  text.include?('<OutputType>WinExe</OutputType>'))
17
17
  if(text.include?('<TargetFramework>net5.0-windows</TargetFramework>'))
18
- PROJECT.run("dotnet publish #{csproj} -c Release -f net5.0-windows -r win-x64 /p:PublishSingleFile=true /p:UseAppHost=true")
18
+ PROJECT.run("dotnet publish #{csproj} -c Release -f net5.0-windows -r win-x64 /p:PublishSingleFile=true /p:UseAppHost=true")
19
19
  else
20
-
21
- PROJECT.run("dotnet publish #{csproj} -c Release -f netcoreapp3.1 -r win-x64 /p:PublishSingleFile=true /p:UseAppHost=true")
20
+ if(text.include?('<TargetFramework>net5.0</TargetFramework>'))
21
+ PROJECT.run("dotnet publish #{csproj} -c Release -f net5.0 -r win-x64 /p:PublishSingleFile=true /p:UseAppHost=true")
22
+ else
23
+ PROJECT.run("dotnet publish #{csproj} -c Release -f netcoreapp3.1 -r win-x64 /p:PublishSingleFile=true /p:UseAppHost=true")
24
+ end
22
25
  end
23
26
  end
24
27
  }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dotkit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.29
4
+ version: 0.0.30
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lou Parslow
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-11-09 00:00:00.000000000 Z
11
+ date: 2020-11-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler