New version of serveit

This commit is contained in:
John Doty 2018-03-21 06:17:35 -07:00
parent ac84af630b
commit e77faa1b91

View file

@ -6,7 +6,8 @@ require "open3"
require "optparse" require "optparse"
class ServeIt class ServeIt
VERSION = [0, 0, 1] VERSION = [0, 0, 2]
def self.main def self.main
serve_dir, ignored_paths, command = parse_opts serve_dir, ignored_paths, command = parse_opts
serve_dir = File.expand_path(serve_dir) serve_dir = File.expand_path(serve_dir)