Sha256: cda5513df6f501ad79a955e2f247f204ed4cab677db79c2420b868ae3a1b4bdb
Contents?: true
Size: 479 Bytes
Versions: 19
Compression:
Stored size: 479 Bytes
Contents
#!/usr/bin/env ruby require File.dirname(__FILE__) + '/../lib/staticmatic' command = ARGV[0] directory = ARGV[1] if !command || !directory puts "Usage: #{$0} <build|setup|preview> <directory>" exit end configuration = StaticMatic::Configuration.new config_file = "#{directory}/src/configuration.rb" if File.exists?(config_file) config = File.read(config_file) eval(config) end staticmatic = StaticMatic::Base.new(directory, configuration) staticmatic.run(command)
Version data entries
19 entries across 19 versions & 3 rubygems