From 9ca5a4d472f6d6b147d5cf8b3f1181d5d9e7a044 Mon Sep 17 00:00:00 2001 From: a14m Date: Wed, 16 Dec 2020 12:18:37 +0100 Subject: Move the build to be ruby specific --- .build.yml | 22 ---------------------- .builds/ruby.yml | 22 ++++++++++++++++++++++ 2 files changed, 22 insertions(+), 22 deletions(-) delete mode 100644 .build.yml create mode 100644 .builds/ruby.yml diff --git a/.build.yml b/.build.yml deleted file mode 100644 index eade737..0000000 --- a/.build.yml +++ /dev/null @@ -1,22 +0,0 @@ -image: alpine/latest - -packages: - - ruby - - ruby-dev - - ruby-bundler - -sources: - - https://git.sr.ht/~a14m/game-of-life - -tasks: - - build: | - cd game-of-life/CLI/ruby - bundle install -j $(nproc) - - - test: | - cd game-of-life/CLI/ruby - bundle exec rspec --format progress - - - lint: | - cd game-of-life/CLI/ruby - bundle exec rubocop diff --git a/.builds/ruby.yml b/.builds/ruby.yml new file mode 100644 index 0000000..eade737 --- /dev/null +++ b/.builds/ruby.yml @@ -0,0 +1,22 @@ +image: alpine/latest + +packages: + - ruby + - ruby-dev + - ruby-bundler + +sources: + - https://git.sr.ht/~a14m/game-of-life + +tasks: + - build: | + cd game-of-life/CLI/ruby + bundle install -j $(nproc) + + - test: | + cd game-of-life/CLI/ruby + bundle exec rspec --format progress + + - lint: | + cd game-of-life/CLI/ruby + bundle exec rubocop -- cgit v1.2.3