File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44# Author:: kzgs
55# 774 <http://id774.net>
66# Created:: Mar 11, 2012
7- # Updated:: Dec 20, 2012
8- # Copyright:: kzgs Copyright (c) 2012
7+ # Updated:: Jan 24, 2013
8+ # Copyright:: kzgs Copyright (c) 2012-2013
99# License:: Licensed under the GNU GENERAL PUBLIC LICENSE, Version 3.0.
1010
1111root_dir = File . expand_path ( ".." , File . dirname ( __FILE__ ) )
@@ -36,6 +36,12 @@ subparsers = {
3636 puts "Creating #{ dir } "
3737 end
3838 }
39+ dir = ( File . expand_path ( '~/.automatic/assets' ) )
40+ unless File . exist? ( dir )
41+ FileUtils . mkdir_p ( dir )
42+ FileUtils . cp_r ( root_dir + '/assets/siteinfo' , dir + '/siteinfo' )
43+ puts "Creating #{ dir } "
44+ end
3945 dir = ( File . expand_path ( '~/.automatic/config' ) )
4046 unless File . exist? ( dir )
4147 FileUtils . mkdir_p ( dir )
Original file line number Diff line number Diff line change 33# Author:: 774 <http://id774.net>
44# Created:: Jan 24, 2013
55# Updated:: Jan 24, 2013
6- # Copyright:: 774 Copyright (c) 2012
6+ # Copyright:: 774 Copyright (c) 2013
77# License:: Licensed under the GNU GENERAL PUBLIC LICENSE, Version 3.0.
88
99require File . expand_path ( File . dirname ( __FILE__ ) + '../../../spec_helper' )
You can’t perform that action at this time.
0 commit comments