From baf3446bc6f5e372b77b51aa29da40ec8f73a7ec Mon Sep 17 00:00:00 2001 From: Tyler887 Date: Mon, 27 Dec 2021 18:25:59 +0000 Subject: [PATCH 1/4] Create electron-build.rb --- electron-build.rb | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 electron-build.rb 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") From 5ea12f11ac5df542bb5edef2c36dc46171f62ae3 Mon Sep 17 00:00:00 2001 From: Tyler887 Date: Mon, 27 Dec 2021 18:37:22 +0000 Subject: [PATCH 2/4] Create ruby.yml --- .github/workflows/ruby.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/ruby.yml 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 From 2c2fa09b4b7067c290cf5b557fb5feb3946b7cb4 Mon Sep 17 00:00:00 2001 From: Tyler887 Date: Mon, 27 Dec 2021 18:39:32 +0000 Subject: [PATCH 3/4] Create Gemfile --- Gemfile | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 Gemfile diff --git a/Gemfile b/Gemfile new file mode 100644 index 0000000..3de23cc --- /dev/null +++ b/Gemfile @@ -0,0 +1,9 @@ +get_package(ELECTRON) + + if(ELECTRON_FOUND) + + print("Successfully built electron") + + else + + print("Sorry, electron has failed to build") From 714af265464d372d21d91869385d260425c8804e Mon Sep 17 00:00:00 2001 From: Tyler887 Date: Mon, 27 Dec 2021 18:55:05 +0000 Subject: [PATCH 4/4] =?UTF-8?q?This=20is=20not=20the=20=F0=9F=92=8E=20we?= =?UTF-8?q?=20are=20=F0=9F=91=80=20for.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Gemfile | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/Gemfile b/Gemfile index 3de23cc..6dbf69f 100644 --- a/Gemfile +++ b/Gemfile @@ -1,9 +1 @@ -get_package(ELECTRON) - - if(ELECTRON_FOUND) - - print("Successfully built electron") - - else - - print("Sorry, electron has failed to build") +gem 'neutron-ruby-electron', '~> 0.1.2'