Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Project update #1

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions .github/workflows/rake.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: test-and-release

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

concurrency:
group: '${{ github.workflow }}-${{ github.job }}-${{ github.head_ref || github.ref_name }}'
cancel-in-progress: true

jobs:
pack:
runs-on: macos-latest

steps:
- uses: actions/checkout@v4

- uses: ruby/setup-ruby@v1
with:
ruby-version: 3.2.5

- run: rake

- uses: actions/upload-artifact@v4
with:
name: tebako-binance-package
path: tebako-binance-package
64 changes: 0 additions & 64 deletions Gemfile.lock

This file was deleted.

13 changes: 9 additions & 4 deletions Rakefile
Original file line number Diff line number Diff line change
@@ -1,13 +1,18 @@
task :brew do
sh "brew bundle"
sh "brew update"
sh "brew bundle -f"
end

task :bundle do
sh "bundle"
task :install do
sh "gem install tebako"
end

task :setup do
sh "PATH=$(brew --prefix bison)/bin:$PATH tebako setup"
end

task :press do
sh "tebako press -r async -e binance.rb -o tebako-binance-package"
end

task default: %i[brew bundle press]
task default: %i[brew install setup press]
File renamed without changes.