dotkit 0.0.28 → 0.0.29
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 +5 -0
- 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: 6de12ed102d591e38033aa1a7ea7c2219f4779db9397b56f68d7b72e57ee58d6
|
4
|
+
data.tar.gz: 2a6d46cc7a92493380c022d06ebc9e73d628257ad972a1f56d688411337c6fff
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7737337d6b10ebf41d331fecacd12387a11353b666381edb845838a2fe1a906c633a3a656f78bf2ed287fb446090844fd56ab7820f9eb7642a2cd7d20e3d19de
|
7
|
+
data.tar.gz: 669da844ccfddb12325ca91276855a578f0d1aece956fdbc34d62d5a4c80615cb619d65399fe6edea572754ab2982b492dc20a20525588342d2379803b43e438
|
data/lib/dotkit.rb
CHANGED
@@ -14,7 +14,12 @@ task :build do
|
|
14
14
|
end
|
15
15
|
if(text.include?('<OutputType>Exe</OutputType>') ||
|
16
16
|
text.include?('<OutputType>WinExe</OutputType>'))
|
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")
|
19
|
+
else
|
20
|
+
|
17
21
|
PROJECT.run("dotnet publish #{csproj} -c Release -f netcoreapp3.1 -r win-x64 /p:PublishSingleFile=true /p:UseAppHost=true")
|
22
|
+
end
|
18
23
|
end
|
19
24
|
}
|
20
25
|
end
|
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.29
|
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
|
+
date: 2020-11-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|