Repository navigation
build: use zig in every module and run prek in CI #4
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,21 @@ | ||
| name: Pre-commit | ||
|
|
||
| on: | ||
| push: | ||
| branches: [main] | ||
| pull_request: | ||
| branches: [main] | ||
|
|
||
| permissions: | ||
| contents: read | ||
|
|
||
| concurrency: | ||
| group: ${{ github.workflow }}-${{ github.ref }} | ||
| cancel-in-progress: ${{ github.event_name == 'pull_request' }} | ||
|
|
||
| jobs: | ||
| prek: | ||
| runs-on: ubuntu-26.04 | ||
| steps: | ||
| - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | ||
| - uses: j178/prek-action@1382ad72dea72f9d53832f2bcb65b3e87a947204 # v3.0.1 |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Large diffs are not rendered by default.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,13 +1,13 @@ | ||
| "Public API re-exports" | ||
|
|
||
| load( | ||
| "//fennel/private:fennel_library.bzl", | ||
| _fennel_library = "fennel_library", | ||
| ) | ||
| load( | ||
| "//fennel/private:fennel_binary.bzl", | ||
| _fennel_binary = "fennel_binary", | ||
| ) | ||
| load( | ||
| "//fennel/private:fennel_library.bzl", | ||
| _fennel_library = "fennel_library", | ||
| ) | ||
|
|
||
| fennel_library = _fennel_library | ||
| fennel_binary = _fennel_binary |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,5 @@ | ||
| """Providers for fennel rules""" | ||
|
|
||
| FennelLibrary = provider( | ||
| doc = "fennel libs", | ||
| fields = { | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,5 @@ | ||
| """Implementation of lua_library""" | ||
|
|
||
| load("//lua:providers.bzl", "LuaLibrary") | ||
|
|
||
| def _lua_library_impl(ctx): | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Might cause some problems but this speeds up the build a loooot