Sha256: 86f2fece5d0f812b3765bd99f6082284816a6d49890d90a48231b1a8f5fa7d57
Contents?: true
Size: 1.12 KB
Versions: 2
Compression:
Stored size: 1.12 KB
Contents
############################################################################# # # $Id: homeq.rb 38 2008-10-21 02:38:26Z colin $ # # Author:: Colin Steele (colin@colinsteele.org) # Homepage:: # #---------------------------------------------------------------------------- # # Copyright (C) 2008 by Colin Steele. All Rights Reserved. # colin@colinsteele.org # # This program is free software; you can redistribute it and/or modify # it under the terms of either: 1) the GNU General Public License # as published by the Free Software Foundation; either version 2 of the # License, or (at your option) any later version; or 2) Ruby's License. # # See the file COPYING for complete licensing information. # #--------------------------------------------------------------------------- # # ############################################################################# module HomeQ module CLI def self.execute(dest_dir, rakefile) args = ARGV.dup args += ["-I", "#{HOMEQ_ROOT}/lib/tasks"] args += ["-f", rakefile] ENV['HOMEQ_CLI_DEST'] = dest_dir exec('rake', *args) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
homeq-1.1.5 | lib/homeq/cli.rb |
homeq-1.1.4 | lib/homeq/cli.rb |