Sha256: 422b81779825b901a5a01024164a10f344f6f94ef9a13443646030e994eac14d

Contents?: true

Size: 977 Bytes

Versions: 1

Compression:

Stored size: 977 Bytes

Contents

#!/usr/bin/env ruby
# frozen_string_literal: true

if ARGV.include?('install')

  %x(git clone https://github.com/atomecorp/opal-browser.git )
  Dir.chdir('opal-browser') do
    `bundle update; bundle install`
    `gem build opal-browser.gemspec`
    `gem install opal-browser`
  end
  %x(git clone https://github.com/atomecorp/atome.git )
  Dir.chdir('atome/vendor/assets/build/js/') do
    %x(git clone https://github.com/atomecorp/atome_third_parties_js.git third_parties)
  Dir.chdir('../../../../test/test_app/build/') do

    Dir.mkdir('js')

    Dir.chdir('js/') do
      %x(git clone https://github.com/atomecorp/atome_third_parties_js.git third_parties)
    end
  end
    Dir.chdir('../../../../') do
      Dir.mkdir('thepoil')
      `bundle update; bundle install`
      `gem build atome.gemspec`
      `gem install atome`

    end
  end
  if ARGV.include?('run')
    Dir.chdir('atome/') do
      puts "the path for rake is" +`pwd`
      `rake test`
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
atomize-1.0.3 exe/atomize