raykit 0.0.492 → 0.0.493

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/raykit/dotnet.rb +6 -6
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 39d466f90dc3f33613140488b8f1bcfacc432e0f3428d10a529e835ba9d32806
4
- data.tar.gz: 4947f89135326fb4c94a34eae833ae5931f2b300be83e6b88fd79e69b2f3600f
3
+ metadata.gz: 188de01d7c5285018ec0babbab647c9435f991df661e46935c64e7ae41ddf557
4
+ data.tar.gz: 60579d0ccf0d51bc5e634d95448cbff596c70c6fa6e07e93c9c93876c0d02000
5
5
  SHA512:
6
- metadata.gz: e8583255ca3f0c99fe32f67f30bfe8e10117664906996f57fcdd1f1cc3d88083dad5c2202e32353cbfb1b32a913313f437d6078bbab35c94351db6f017552e1d
7
- data.tar.gz: f401a7611e1cf7476d283cdb3529b301fe9e322f39f54ccb027e0f41fd4d4832d610e409432147d657cc155067b6f5d90612d9844424005727d39c3d4a5b10d7
6
+ metadata.gz: 6e5b12c2e1ade54f1820939668ad6fd04aeaf239fc5c0d04e36a55d31854ce3dd4e4845bf7aa582314c240efe263624a87ec39e937ba13140086f6d20571be1a
7
+ data.tar.gz: 5b786f1d2845ee6c4e600339cf5a9a4a4bfb5e4f62e13b4735c6e4ca878183225c41615cdd4477f7955d0a8eb0c499c05ab5d38762744036c2b153a82a02e6f7
data/lib/raykit/dotnet.rb CHANGED
@@ -94,14 +94,14 @@ module Raykit
94
94
  #PROJECT.run("dotnet sln #{name}.sln add test/#{name}.Test/#{name}.Test.csproj") unless File.exist?("test/#{name}.Test/#{name}.Test.csproj")
95
95
  PROJECT.run("dotnet add test/#{name}.Test/#{name}.Test.csproj reference src/#{name}/#{name}.csproj") unless File.exist?("test/#{name}.Test/#{name}.Test.csproj")
96
96
  # create a blazor server example
97
- PROJECT.run("dotnet new blazorserver -lang C# --name #{name}.BlazorServer --output examples/#{name}.BlazorServer") unless File.exist?("examples/#{name}.BlazorServer/#{name}.BlazorServer.csproj")
97
+ #PROJECT.run("dotnet new blazorserver -lang C# --name #{name}.BlazorServer --output examples/#{name}.BlazorServer") unless File.exist?("examples/#{name}.BlazorServer/#{name}.BlazorServer.csproj")
98
98
  #PROJECT.run("dotnet sln #{name}.sln add examples/#{name}.BlazorServer/#{name}.BlazorServer.csproj") unless File.exist?("examples/#{name}.BlazorServer/#{name}.BlazorServer.csproj")
99
- PROJECT.run("dotnet add examples/#{name}.BlazorServer/#{name}.BlazorServer.csproj reference src/#{name}/#{name}.csproj") unless File.exist?("examples/#{name}.BlazorServer/#{name}.BlazorServer.csproj")
99
+ P #ROJECT.run("dotnet add examples/#{name}.BlazorServer/#{name}.BlazorServer.csproj reference src/#{name}/#{name}.csproj") unless File.exist?("examples/#{name}.BlazorServer/#{name}.BlazorServer.csproj")
100
100
  # generate project folders
101
101
  ["Interfaces", "Extensions", "Models"].each do |folder|
102
102
  FileUtils.mkdir_p("src/#{name}/#{folder}") unless Dir.exist?("src/#{name}/#{folder}")
103
103
  FileUtils.mkdir_p("test/#{name}.Test/#{folder}") unless Dir.exist?("test/#{name}.Test/#{folder}")
104
- FileUtils.mkdir_p("examples/#{name}.BlazorServer/#{folder}") unless Dir.exist?("examples/#{name}.BlazorServer/#{folder}")
104
+ #FileUtils.mkdir_p("examples/#{name}.BlazorServer/#{folder}") unless Dir.exist?("examples/#{name}.BlazorServer/#{folder}")
105
105
  end
106
106
  end
107
107
 
@@ -120,14 +120,14 @@ module Raykit
120
120
  #PROJECT.run("dotnet sln #{name}.sln add test/#{name}.Test/#{name}.Test.csproj") unless File.exist?("test/#{name}.Test/#{name}.Test.csproj")
121
121
  PROJECT.run("dotnet add test/#{name}.Test/#{name}.Test.csproj reference src/#{name}/#{name}.csproj") unless File.exist?("test/#{name}.Test/#{name}.Test.csproj")
122
122
  # create a blazor server example
123
- PROJECT.run("dotnet new blazorserver -lang C# --name #{name}.BlazorServer --output examples/#{name}.BlazorServer") unless File.exist?("examples/#{name}.BlazorServer/#{name}.BlazorServer.csproj")
123
+ #PROJECT.run("dotnet new blazorserver -lang C# --name #{name}.BlazorServer --output examples/#{name}.BlazorServer") unless File.exist?("examples/#{name}.BlazorServer/#{name}.BlazorServer.csproj")
124
124
  #PROJECT.run("dotnet sln #{name}.sln add examples/#{name}.BlazorServer/#{name}.BlazorServer.csproj") unless File.exist?("examples/#{name}.BlazorServer/#{name}.BlazorServer.csproj")
125
- PROJECT.run("dotnet add examples/#{name}.BlazorServer/#{name}.BlazorServer.csproj reference src/#{name}/#{name}.csproj") unless File.exist?("examples/#{name}.BlazorServer/#{name}.BlazorServer.csproj")
125
+ #PROJECT.run("dotnet add examples/#{name}.BlazorServer/#{name}.BlazorServer.csproj reference src/#{name}/#{name}.csproj") unless File.exist?("examples/#{name}.BlazorServer/#{name}.BlazorServer.csproj")
126
126
  # generate project folders
127
127
  ["Interfaces", "Extensions", "Models", "Components", "Controllers"].each do |folder|
128
128
  FileUtils.mkdir_p("src/#{name}/#{folder}") unless Dir.exist?("src/#{name}/#{folder}")
129
129
  FileUtils.mkdir_p("test/#{name}.Test/#{folder}") unless Dir.exist?("test/#{name}.Test/#{folder}")
130
- FileUtils.mkdir_p("examples/#{name}.BlazorServer/#{folder}") unless Dir.exist?("examples/#{name}.BlazorServer/#{folder}")
130
+ #FileUtils.mkdir_p("examples/#{name}.BlazorServer/#{folder}") unless Dir.exist?("examples/#{name}.BlazorServer/#{folder}")
131
131
  end
132
132
  end
133
133
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: raykit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.492
4
+ version: 0.0.493
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lou Parslow