makit 0.0.41 → 0.0.42
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/makit/dotnet.rb +4 -3
- data/lib/makit/version.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: dc46b26aae5b3712b7befd4f96d2f535e850ea1f8952f37ac50714ecc4407870
|
4
|
+
data.tar.gz: 10679ea030bf2cf9ce6a78b6bdbb1122cf566bfc4a6b5925b410c5534dd2fd09
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4b8ce7e6e66206469bbcf6f795799d14d67400c1e3cee8fc47121ce9df692b16bbe981c5450ef4a053a1eff6166cf82f098bbc1d78b49c84b5511fdba2074f7e
|
7
|
+
data.tar.gz: ced613b8481056626e4ab05c28abf029ea241ecde066f3950658154a6e80c234d33f959f3d8a5b08ae203f337f712ca146e26163ec2f01199ebb4fd647c8b76c
|
data/lib/makit/dotnet.rb
CHANGED
@@ -10,7 +10,7 @@ module Makit
|
|
10
10
|
|
11
11
|
def self.new_project(template, name, output, args = "")
|
12
12
|
if Dir.exist? output
|
13
|
-
puts "
|
13
|
+
puts " "#{name} project exists".colorize(:gey)
|
14
14
|
else
|
15
15
|
"dotnet new #{template} --name #{name} --output #{output} #{args}".run
|
16
16
|
end
|
@@ -45,7 +45,7 @@ module Makit
|
|
45
45
|
if (!project_content.include?("\"#{package_name}\""))
|
46
46
|
"dotnet add #{project_path} package #{package_name}".run
|
47
47
|
else
|
48
|
-
|
48
|
+
puts " #{project_path} has package #{package_name}".colorize(:grey)
|
49
49
|
end
|
50
50
|
end
|
51
51
|
|
@@ -74,7 +74,8 @@ module Makit
|
|
74
74
|
end
|
75
75
|
project_content = File.read(project_path)
|
76
76
|
if (project_content.include?(File.basename(reference_path)))
|
77
|
-
puts "
|
77
|
+
puts " #{project_path} references #{reference_path}".colorize(:grey)
|
78
|
+
#puts " reference ".colorize(:grey) + "#{reference_path}".colorize(:yellow) + " is in ".colorize(:grey) + "#{project_path}".colorize(:yellow)
|
78
79
|
else
|
79
80
|
"dotnet add #{project_path} reference #{reference_path}".run
|
80
81
|
end
|
data/lib/makit/version.rb
CHANGED