theme-juice 0.3.1 → 0.3.2
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/tj +0 -2
- data/lib/theme-juice/executor.rb +7 -1
- data/lib/theme-juice/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: 9bcd3c14d55abc0b1a30186e53decfae90b928b6
|
|
4
|
+
data.tar.gz: 5010e36454a5043715d2fa1350fa081cc339637f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e85f8ffcffcab58f25c1d75b1fb3cf69422e60f1856092cf523ce89cac9270e32c3e15f4d23d90646e3d75e3923e69a0032d34d20caea265a3275099e087daa8
|
|
7
|
+
data.tar.gz: 31af1966d61d6327d20b922a60e49e2074f68e95fe45a63a57f80a50d900e9497aa0f91df230a6f08af9b6f51e15491790fcebcacc3ff5c480f0671142167da1
|
data/bin/tj
CHANGED
data/lib/theme-juice/executor.rb
CHANGED
|
@@ -37,7 +37,7 @@ module ThemeJuice
|
|
|
37
37
|
if @config[subcommand]
|
|
38
38
|
run ["#{@config[subcommand]} #{commands}"], false
|
|
39
39
|
else
|
|
40
|
-
say "Unable to find '#{subcommand}' command in '#{config_path}/tj-config.yml'. Aborting mission
|
|
40
|
+
say "Unable to find '#{subcommand}' command in '#{config_path}/tj-config.yml'. Aborting mission", :red
|
|
41
41
|
exit 1
|
|
42
42
|
end
|
|
43
43
|
end
|
|
@@ -668,6 +668,12 @@ module ThemeJuice
|
|
|
668
668
|
# @return {Void}
|
|
669
669
|
###
|
|
670
670
|
def remove_dev_site
|
|
671
|
+
|
|
672
|
+
unless Dir.entries("#{::ThemeJuice::Utilities.get_vvv_path}").include? "www"
|
|
673
|
+
say "Cannot load VVV path. Aborting mission before something bad happens.", :red
|
|
674
|
+
exit 1
|
|
675
|
+
end
|
|
676
|
+
|
|
671
677
|
if run ["rm -rf #{@opts[:dev_location]}"]
|
|
672
678
|
say "VVV installation for '#{@opts[:site_name]}' successfully removed.", :yellow
|
|
673
679
|
else
|
data/lib/theme-juice/version.rb
CHANGED