Sha256: 24c0991a1ff1427e2990cc8ae1478250d7866cbb546914a2291946188dce2ac3

Contents?: true

Size: 495 Bytes

Versions: 3

Compression:

Stored size: 495 Bytes

Contents

run_home = Dir.home
directory "#{home}/.atom"

cookbook_file "#{home}/.atom/config.cson" do
  source 'atom.config.cson'
  action :create
end

cookbook_file "#{home}/.atom/apm-bootstrap.list" do
  source 'atom.apm.list'
  action :create
end

execute 'install Atom packages' do
  command "#{run_home}/AppData/Local/atom/bin/apm install --packages-file #{home}/.atom/apm-bootstrap.list"
  action :run
  not_if { File.exist?("#{home}/.atom/packages/language-chef/README.md") }
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
wombat-cli-0.6.1 generator_files/cookbooks/workstation/recipes/editor.rb
wombat-cli-0.6.0 generator_files/cookbooks/workstation/recipes/editor.rb
wombat-cli-0.5.0 generator_files/cookbooks/workstation/recipes/editor.rb