raykit 0.0.488 → 0.0.489
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 +1 -1
- 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: 1e99c79c4135f7c61056df2f7fea7c14d6e56c405b5c0fb372dcc6f9d7459d3b
|
|
4
|
+
data.tar.gz: 86dd45e0838a2c9a065a422243410d35c52ceafdaeca5879d5b97c0b7e40d2c0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ff1af69e182e627fa7eeb458136a87c7c9a3cf1c1a28c161ffb307d27b21ecf87f618f90ced3ab35372f91926e8caae28281114d520be7ef34757c950c9c1951
|
|
7
|
+
data.tar.gz: 6556a6bde18680e1872e44ea40263932d5d365c764ca441d676d93ce961ec001564dd99f04507823ede3dac307f35da158e59c001a232859954ee5c276fca715
|
data/lib/raykit/dotnet.rb
CHANGED
|
@@ -163,7 +163,7 @@ module Raykit
|
|
|
163
163
|
|
|
164
164
|
# create a solution of the specified name and add all projects in the current directory
|
|
165
165
|
def self.create_solution(name)
|
|
166
|
-
PROJECT.run("dotnet new sln --name #{name}")
|
|
166
|
+
PROJECT.run("dotnet new sln --name #{name}") unless File.exist?("#{name}.sln")
|
|
167
167
|
Dir.glob("**/*.csproj").each do |project|
|
|
168
168
|
PROJECT.run("dotnet sln #{name}.sln add #{project}")
|
|
169
169
|
end
|