Skip to content

Commit

Permalink
Update preparation for git-cache use
Browse files Browse the repository at this point in the history
  • Loading branch information
Seth Falcon committed Mar 26, 2014
1 parent 8526a22 commit 02d06a7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion config/software/preparation.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,14 @@

name "preparation"
description "the steps required to preprare the build"
default_version '1.0.0'

build do
block do
%w{embedded/lib embedded/bin bin}.each do |dir|
FileUtils.mkdir_p(File.expand_path(dir, install_dir))
dir_fullpath = File.expand_path(File.join(install_dir, dir))
FileUtils.mkdir_p(dir_fullpath)
FileUtils.touch(File.join(dir_fullpath, '.gitkeep'))
end
end
end

0 comments on commit 02d06a7

Please sign in to comment.