raykit 0.0.484 → 0.0.485
Sign up to get free protection for your applications and to get access to all the features.
- 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: fa33898c3f0d9c99caf1f5f760a0fcd6f44f190a75cf4b3a9d1cb202656772ce
|
4
|
+
data.tar.gz: cb65f29a8ed1b0205288f34e7cb771f5fa7217450a4f95d0cf6db2e801626456
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aaa9c6d18eb8d6ac51dd86d9b46d533791857073093a02fb447924cd547fe94172d4ac442bc1e5dab12158852c35ffe8838445e28f06fb545acb5d0d9b909b32
|
7
|
+
data.tar.gz: d69203133620a781106fb5080861d0d1a305449ca5f5c89593ee40690bda082ca16b0de3f7cb35850617d1f7835410c7456d08db92390eb3444952145753a894
|
data/lib/raykit/dotnet.rb
CHANGED
@@ -139,7 +139,7 @@ module Raykit
|
|
139
139
|
# create the blazor server application
|
140
140
|
puts " creating src/#{name}/#{name}.csproj" unless File.exist?("src/#{name}/#{name}.csproj")
|
141
141
|
PROJECT.run("dotnet new blazorserver -lang C# --name #{name} --output src/#{name}") unless File.exist?("src/#{name}/#{name}.csproj")
|
142
|
-
PROJECT.run("dotnet sln #{name}.sln add src/#{name}/#{name}.csproj")
|
142
|
+
PROJECT.run("dotnet sln #{name}.sln add src/#{name}/#{name}.csproj")
|
143
143
|
# generate project folders
|
144
144
|
["Interfaces", "Extensions", "Models", "Components", "Controllers"].each do |folder|
|
145
145
|
FileUtils.mkdir_p("src/#{name}/#{folder}") unless Dir.exist?("src/#{name}/#{folder}")
|
@@ -154,7 +154,7 @@ module Raykit
|
|
154
154
|
# create the blazor server application
|
155
155
|
puts " creating examples/#{name}/#{name}.csproj" unless File.exist?("examples/#{name}/#{name}.csproj")
|
156
156
|
PROJECT.run("dotnet new blazorserver -lang C# --name #{name} --output examples/#{name}") unless File.exist?("examples/#{name}/#{name}.csproj")
|
157
|
-
PROJECT.run("dotnet sln #{name}.sln add examples/#{name}/#{name}.csproj")
|
157
|
+
PROJECT.run("dotnet sln #{name}.sln add examples/#{name}/#{name}.csproj")
|
158
158
|
# generate project folders
|
159
159
|
["Interfaces", "Extensions", "Models", "Components", "Controllers"].each do |folder|
|
160
160
|
FileUtils.mkdir_p("examples/#{name}/#{folder}") unless Dir.exist?("examples/#{name}/#{folder}")
|