minimum-viable-product 0.0.5 → 0.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/bin/mvp +5 -3
- data/lib/minimum-viable-product/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 476f3ef3d7755fc5d1bd6679ca0bdd3b394601f0
|
|
4
|
+
data.tar.gz: c235ca358008c5423264d26f0b10a1e6f2523e17
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 95f5491457bc82b4944ef35ba10f5462beb5e63183afcfc3aed4f6b5d2fa796b857b91e39a8c7b63fa4431d892381c311be0358198fc034859368615baaca56c
|
|
7
|
+
data.tar.gz: ab77395229b07fc763496a45426a11d88d72d350638227eaeaf2ea773eb7955f4cafe095391cb3730556d9e5c0eb6920856ccf38ccdaef36aef2c16157e16a98
|
data/bin/mvp
CHANGED
|
@@ -23,10 +23,11 @@ when 'new'
|
|
|
23
23
|
slug = slugify(project)
|
|
24
24
|
|
|
25
25
|
puts
|
|
26
|
+
puts "\n== Cloning Base Project =="
|
|
26
27
|
run "git clone git@github.com:ian/mvp-rails.git #{slug}"
|
|
27
28
|
|
|
28
29
|
puts
|
|
29
|
-
puts "Initializing Project"
|
|
30
|
+
puts "\n== Initializing Project =="
|
|
30
31
|
files = Dir.glob("#{slug}/**/*").select { |f| File.file?(f) }
|
|
31
32
|
files.each do |file_name|
|
|
32
33
|
text = File.read(file_name)
|
|
@@ -35,9 +36,10 @@ when 'new'
|
|
|
35
36
|
|
|
36
37
|
File.open(file_name, "w") {|file| file.puts new_contents }
|
|
37
38
|
end
|
|
38
|
-
run "cd #{slug} && rm -rf .git &&
|
|
39
|
+
run "cd #{slug} && rm -rf .git && git init"
|
|
40
|
+
|
|
41
|
+
run "cd #{slug}; bin/setup", "\n== Project Setup"
|
|
39
42
|
|
|
40
|
-
run "cd #{slug}; bin/setup", "Project Setup"
|
|
41
43
|
when 'update'
|
|
42
44
|
puts "TBD"
|
|
43
45
|
end
|