diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml new file mode 100644 index 0000000..a6ed8cc --- /dev/null +++ b/.github/workflows/ruby.yml @@ -0,0 +1,23 @@ +name: Install Ruby + +on: [push, pull_request] + +jobs: + + test: + + runs-on: ubuntu-latest + + steps: + + - uses: actions/checkout@v2 + + - uses: ruby/setup-ruby@v1 + + with: + + ruby-version: 2.6 # Not needed with a .ruby-version file + + bundler-cache: true # runs 'bundle install' and caches installed gems automatically + + - run: bundle exec rake diff --git a/Gemfile b/Gemfile new file mode 100644 index 0000000..6dbf69f --- /dev/null +++ b/Gemfile @@ -0,0 +1 @@ +gem 'neutron-ruby-electron', '~> 0.1.2' diff --git a/electron-build.rb b/electron-build.rb new file mode 100644 index 0000000..e19fac1 --- /dev/null +++ b/electron-build.rb @@ -0,0 +1,5 @@ +get_package(ELECTRON) + if(ELECTRON_FOUND) + print("Successfully built electron") + else + print("Sorry, electron has failed to build")