Skip to content

Commit

Permalink
Add Rakefile to each gem (release tasks) (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
kml authored Jun 4, 2024
1 parent 16b5fa5 commit 42b830e
Show file tree
Hide file tree
Showing 11 changed files with 22 additions and 10 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/distrib-core-linters.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: CI

on:
push:
branches: [master]
branches: [main]
pull_request:
branches: [master]
branches: [main]

env:
BUNDLE_FROZEN: true
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/distrib-core-specs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: CI

on:
push:
branches: [master]
branches: [main]
pull_request:
branches: [master]
branches: [main]

permissions:
contents: read
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/features-parser-specs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: CI

on:
push:
branches: [master]
branches: [main]
pull_request:
branches: [master]
branches: [main]

jobs:
build:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/rspec-distrib-linters.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: CI

on:
push:
branches: [master]
branches: [main]
pull_request:
branches: [master]
branches: [main]

env:
BUNDLE_ONLY: linters
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/rspec-distrib-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: CI

on:
push:
branches: [master]
branches: [main]
pull_request:
branches: [master]
branches: [main]

jobs:
tests:
Expand Down
1 change: 1 addition & 0 deletions distrib-core/Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ gemspec

gem 'pry'
gem 'pry-byebug'
gem 'rake'
gem 'rspec', '~> 3.13'
gem 'rubocop'
gem 'rubocop-rspec'
Expand Down
2 changes: 2 additions & 0 deletions distrib-core/Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ GEM
pry (>= 0.13, < 0.15)
racc (1.8.0)
rainbow (3.1.1)
rake (13.2.1)
regexp_parser (2.9.2)
rexml (3.2.8)
strscan (>= 3.0.9)
Expand Down Expand Up @@ -85,6 +86,7 @@ DEPENDENCIES
distrib-core!
pry
pry-byebug
rake
rspec (~> 3.13)
rubocop
rubocop-rspec
Expand Down
3 changes: 3 additions & 0 deletions distrib-core/Rakefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# frozen_string_literal: true

require 'bundler/gem_tasks'
1 change: 1 addition & 0 deletions rspec-distrib/Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ gem 'distrib-core', path: '../distrib-core'

gem 'pry'
gem 'pry-byebug'
gem 'rake'
gem 'rspec', '~> 3.13.0'
gem 'simplecov'

Expand Down
2 changes: 2 additions & 0 deletions rspec-distrib/Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ GEM
pry (>= 0.13, < 0.15)
racc (1.8.0)
rainbow (3.1.1)
rake (13.2.1)
regexp_parser (2.9.2)
rexml (3.2.8)
strscan (>= 3.0.9)
Expand Down Expand Up @@ -90,6 +91,7 @@ DEPENDENCIES
distrib-core!
pry
pry-byebug
rake
rspec (~> 3.13.0)
rspec-distrib!
rubocop
Expand Down
3 changes: 3 additions & 0 deletions rspec-distrib/Rakefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# frozen_string_literal: true

require 'bundler/gem_tasks'

0 comments on commit 42b830e

Please sign in to comment.