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

add justfile, update readme, remove coveralls #1964

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

xavdid-stripe
Copy link
Member

Why?

In an effort to modernize and simplify our local tooling, we're moving our dev commands from makefiles to justfiles. This is intended to be mostly a drop-in replacement, but some command names may change per standardization efforts.

What?

  • add justfile
  • tweak CI to use justfile
  • remove coveralls from CI

See Also

DEVSDK-2325

@xavdid-stripe xavdid-stripe requested review from a team and jar-stripe and removed request for a team January 13, 2025 02:20
env:
COVERALLS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
COVERALLS_FLAG_NAME: Go-${{ matrix.go }}
runs-on: ubuntu-latest
Copy link
Member Author

@xavdid-stripe xavdid-stripe Jan 13, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this block is mostly the same except coveralls is gone and just is used in favor of make. The rest of the changes are that, prettier shifted it over (it was intended by 5 spaces?)

echo "{{ version }}" > VERSION
perl -pi -e 's|const clientversion = "[.\d\-\w]+"|const clientversion = "{{ version }}"|' stripe.go

# go imports use the package's major version in the path, so we need to update them
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was the only especially tricky thing- we want major_version to be evaluated lazily, but also shared throughout the recipe.

This comment is probably too detailed, but I wanted to remind myself why I did it exactly this way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant