Skip to content
Merged
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
2 changes: 1 addition & 1 deletion .github/workflows/js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- id: skip_check
uses: fkirc/skip-duplicate-actions@c449d86cf33a2a6c7a4193264cc2578e2c3266d4 # pin@v4
with:
paths_ignore: '["cli/**", "github/**", "linter/**","parser/**"]'
paths_ignore: '["crates/**"]'

typescript:
needs: pre_job
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
with:
target: ${{ matrix.platform.target }}
maturin-version: v1.7.1
working-directory: crates/cli
working-directory: crates/squawk
args: --release --out dist ${{ matrix.platform.maturin-options }}
manylinux: ${{ matrix.platform.manylinux }}
sccache: "true"
Expand All @@ -59,7 +59,7 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: wheels-linux-${{ matrix.platform.target }}
path: crates/cli/dist
path: crates/squawk/dist
if-no-files-found: error

windows:
Expand All @@ -79,14 +79,14 @@ jobs:
uses: PyO3/maturin-action@v1
with:
target: ${{ matrix.platform.target }}
working-directory: crates/cli
working-directory: crates/squawk
args: --release --out dist
sccache: "true"
- name: Upload wheels
uses: actions/upload-artifact@v4
with:
name: wheels-windows-${{ matrix.platform.target }}
path: crates/cli/dist
path: crates/squawk/dist
if-no-files-found: error

macos:
Expand All @@ -106,14 +106,14 @@ jobs:
uses: PyO3/maturin-action@v1
with:
target: ${{ matrix.platform.target }}
working-directory: crates/cli
working-directory: crates/squawk
args: --release --out dist
sccache: "true"
- name: Upload wheels
uses: actions/upload-artifact@v4
with:
name: wheels-macos-${{ matrix.platform.target }}
path: crates/cli/dist
path: crates/squawk/dist
if-no-files-found: error

sdist:
Expand All @@ -126,13 +126,13 @@ jobs:
uses: PyO3/maturin-action@v1
with:
command: sdist
working-directory: crates/cli
working-directory: crates/squawk
args: --out dist
- name: Upload sdist
uses: actions/upload-artifact@v4
with:
name: wheels-sdist
path: crates/cli/dist
path: crates/squawk/dist
if-no-files-found: error

release:
Expand Down
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ convert_case = "0.7.1"
clap = { version = "4.5.8", features = ["derive"] }

# local
squawk-github = { version = "0.0.0", path = "./crates/github" }
squawk_github = { version = "0.0.0", path = "./crates/squawk_github" }
squawk_lexer = { version = "0.0.0", path = "./crates/squawk_lexer" }
squawk_parser = { version = "0.0.0", path = "./crates/squawk_parser" }
squawk_syntax = { version = "0.0.0", path = "./crates/squawk_syntax" }
Expand Down
2 changes: 1 addition & 1 deletion crates/cli/Cargo.toml → crates/squawk/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ enum-iterator.workspace = true
squawk_syntax.workspace = true
squawk_linter.workspace = true
squawk_lexer.workspace = true
squawk-github.workspace = true
squawk_github.workspace = true
toml.workspace = true
glob.workspace = true
anyhow.workspace = true
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
name = "squawk-github"
name = "squawk_github"
version = "0.0.0"
authors = ["Steve Dignam <steve@dignam.xyz>"]
edition = "2018"
Expand Down
2 changes: 1 addition & 1 deletion crates/github/README.md → crates/squawk_github/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# squawk-github
# squawk_github

A small wrapper around the GitHub API to allow [`squawk`](https://github.com/sbdchd/squawk) to comment on PRs.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion s/check-version
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ CLI_VERSION_PATTERN = r"version = \"(?P<version>\d+\.\d+\.\d+)\""


def find_cli_version() -> str:
cargo_toml = squawk_root() / "crates" / "cli" / "Cargo.toml"
cargo_toml = squawk_root() / "crates/squawk/Cargo.toml"
for line in cargo_toml.read_text().split("\n"):
match = re.match(CLI_VERSION_PATTERN, line)
if match is not None:
Expand Down
8 changes: 0 additions & 8 deletions s/publish

This file was deleted.

2 changes: 1 addition & 1 deletion s/update-version
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
function main {
NEW_VERSION="$1"
echo "updating version to '$NEW_VERSION'..."
fastmod '^version = ".*"' 'version = "'$NEW_VERSION'"' crates/cli/Cargo.toml
fastmod '^version = ".*"' 'version = "'$NEW_VERSION'"' crates/squawk/Cargo.toml
fastmod -m '(name = "squawk"\n)version = ".*?"' '${1}version = "'$NEW_VERSION'"' Cargo.lock
fastmod '"version": ".*"' '"version": "'$NEW_VERSION'"' package.json
fastmod -m '(pname = "squawk";.*?)version = ".*?"' '${1}version = "'$NEW_VERSION'"' flake.nix
Expand Down
Loading