dev 2.1.84 → 2.1.85
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/tasks/setup.rb +18 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3e224c446e4ac8d1844a35ca44ef52cf2c1ad475
|
4
|
+
data.tar.gz: be26fd3407da167a6ac8967daf0fd5231fe21e5a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 83ed824d821434381e7c3a3c9a0f85b60ecc8fa09a6df736dfbedcd017337082e392c0187c44e66c0986039e400b6a05bfaeef85327d2e402e6e7a7fa0addd72
|
7
|
+
data.tar.gz: bba2ae326698b4dda9589d2749a9c2e810dc9017aeb4f24c1ccea151a5cdc9c510a142a49eb64462681e9799d932381224c2a1c13604ff0b2442c306e1e86bf5
|
data/lib/tasks/setup.rb
CHANGED
@@ -142,4 +142,22 @@ class Setup < Array
|
|
142
142
|
end
|
143
143
|
log_debug_info("Setup")
|
144
144
|
end
|
145
|
+
|
146
|
+
def self.setupStandardClassLib(name,language)
|
147
|
+
projectExtension="csproj"
|
148
|
+
projectExtension="fsproj" if(language=="F#")
|
149
|
+
FileUtils.mkdir(name)if(!Dir.exists?(name))
|
150
|
+
if(!File.exists?("#{name}/#{name}.#{projectExtension}"))
|
151
|
+
Dir.chdir(name) do
|
152
|
+
puts `dotnet new classlib -lang #{language}`
|
153
|
+
end
|
154
|
+
end
|
155
|
+
FileUtils.mkdir("#{name}.Test")if(!Dir.exists?("#{name}.Test"))
|
156
|
+
if(!File.exists?("#{name}.Test/#{name}.Test.#{projectExtension}"))
|
157
|
+
Dir.chdir("#{name}.Test") do
|
158
|
+
puts `dotnet new nunit -lang #{language}`
|
159
|
+
puts `dotnet add reference ../#{name}/#{name}.#{projectExtension}`
|
160
|
+
end
|
161
|
+
end
|
162
|
+
end
|
145
163
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dev
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1.
|
4
|
+
version: 2.1.85
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Lou Parslow
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-08-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -156,7 +156,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
156
156
|
version: '0'
|
157
157
|
requirements: []
|
158
158
|
rubyforge_project:
|
159
|
-
rubygems_version: 2.
|
159
|
+
rubygems_version: 2.6.14.1
|
160
160
|
signing_key:
|
161
161
|
specification_version: 4
|
162
162
|
summary: dev
|