Skip to content

Commit a25aef1

Browse files
TAKAYUKI KAMIYAMATAKAYUKI KAMIYAMA
TAKAYUKI KAMIYAMA
authored and
TAKAYUKI KAMIYAMA
committed
Update.
1 parent e5f339b commit a25aef1

File tree

1 file changed

+14
-4
lines changed

1 file changed

+14
-4
lines changed

lib/install.rb

+14-4
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,19 @@
55

66
# Installer runner.
77
class InstallerRunner
8-
# default encoding utf-8, change encode here.
8+
9+
def self.run
10+
encoding_style
11+
nyasocom_custom_name
12+
end
13+
14+
private
915
def self.encoding_style
1016
Encoding.default_internal = 'UTF-8'
1117
Encoding.default_external = 'UTF-8'
1218
end
13-
14-
def self.run
15-
encoding_style
19+
20+
def self.nyasocom_custom_name
1621
one = ARGV[1]
1722
FileUtils.mkdir_p("./#{one}")
1823
FileUtils.cd("./#{one}")
@@ -22,6 +27,11 @@ def self.run
2227
end
2328
FileUtils.rm_rf("./.git")
2429
FileUtils.rm_rf("./.github")
30+
puts <<-EOF
31+
32+
Used nyasocom_frame to clone nyasocom_oss with any project name.
33+
34+
EOF
2535
end
2636
end
2737

0 commit comments

Comments
 (0)