raykit 0.0.116 → 0.0.117
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.
- checksums.yaml +4 -4
- data/lib/raykit/dotnet.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 93a6daa364a25526d01f1cf9197520a0d7e1458626ff3538d3d9ae321bfd57c0
|
4
|
+
data.tar.gz: 7bbf94cc61a84fecd2f877ae45b42eb97604e6ee0e0d322fbf01605f636df403
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8638076830863e904c507767e0fff73e7328512bfa08e035cbc689c827d02ac3daace12023b53a2c448015a2a59e43475ee09f9ce14bb54d6ac3126786d7c47c
|
7
|
+
data.tar.gz: bcdcce3dba33c4971f783351d9dad0eddca124fde4a20ad852a27e1d0e81a444e2689cbc98f258e73029705b1e58b2ed3a9ee15f1a9dc1437de557e9fde4e8e3
|
data/lib/raykit/dotnet.rb
CHANGED
@@ -2,12 +2,13 @@ module Raykit
|
|
2
2
|
class DotNet
|
3
3
|
# initialize a C# library
|
4
4
|
def self.initialize_csharp_lib(name)
|
5
|
+
puts `dotnet new sln --name #{name}` if(!File.exist?("#{name}.sln"))
|
5
6
|
if(!Dir.exists?(name))
|
6
7
|
FileUtils.mkdir(name)
|
7
8
|
Dir.chdir(name) do
|
8
9
|
puts `dotnet new classlib -lang C#`
|
9
10
|
end
|
10
|
-
puts `dotnet new sln`
|
11
|
+
#puts `dotnet new sln`
|
11
12
|
puts `dotnet sln #{name}.sln add #{name}/#{name}.csproj`
|
12
13
|
|
13
14
|
FileUtils.mkdir("#{name}.Test")if(!Dir.exist?("#{name}.Test"))
|
@@ -43,7 +44,6 @@ module Raykit
|
|
43
44
|
# initialize a C# wpf application
|
44
45
|
def self.initialize_csharp_wpf_application(name)
|
45
46
|
puts `dotnet new sln --name #{name}`
|
46
|
-
|
47
47
|
if(!Dir.exists?(name))
|
48
48
|
FileUtils.mkdir(name)
|
49
49
|
Dir.chdir(name) do
|