dotkit 0.0.29 → 0.0.30
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/dotkit.rb +6 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0f486508bad2c07a0b31d1216c4f776f90c4b22de48fcf3fcdb1e005466900d5
|
4
|
+
data.tar.gz: bab00d072bf646781c6538fc728a551d62b84f3b143d673b7270ac743abc6374
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b0b20848648098b01d015f94b6984b245825814218f734d4984f1cca02dd73d87f02b7fd55850a8b886aaaf8b11603adcaca26f0adb0f6bf57455d4aa2ad1b26
|
7
|
+
data.tar.gz: c21513b5cd1ba8ed7f00ac14d17620321ad2f39e1fcb7baa54eae5174de7f10458cb9be438130cca3551eed585440281968eddc3ed0c4378298250488c274195
|
data/lib/dotkit.rb
CHANGED
@@ -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
|
-
|
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
|
-
|
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.
|
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-
|
11
|
+
date: 2020-11-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|