hyde-ftp 0.1.11 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- data/hyde-ftp.gemspec +1 -1
- data/lib/hyde.rb +4 -1
- metadata +1 -1
data/hyde-ftp.gemspec
CHANGED
data/lib/hyde.rb
CHANGED
@@ -29,7 +29,6 @@ class Jekyll
|
|
29
29
|
end
|
30
30
|
|
31
31
|
def deploy()
|
32
|
-
|
33
32
|
# Declare Instance Variables
|
34
33
|
config = YAML.load(File.read(ARGV[1]))
|
35
34
|
|
@@ -49,6 +48,10 @@ class Jekyll
|
|
49
48
|
mirror @local_dir, ftp
|
50
49
|
|
51
50
|
ftp.quit
|
51
|
+
|
52
|
+
rescue
|
53
|
+
puts "Invalid/nonexistant config file."
|
54
|
+
puts "Usage: hyde deploy _config.yml"
|
52
55
|
end
|
53
56
|
|
54
57
|
def help()
|