Skip to content

Commit 8d010f6

Browse files
authored
internal: rename cli & github crates (#459)
I think unique names are better
1 parent 560b155 commit 8d010f6

34 files changed

+17
-25
lines changed

β€Ž.github/workflows/js.ymlβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- id: skip_check
1919
uses: fkirc/skip-duplicate-actions@c449d86cf33a2a6c7a4193264cc2578e2c3266d4 # pin@v4
2020
with:
21-
paths_ignore: '["cli/**", "github/**", "linter/**","parser/**"]'
21+
paths_ignore: '["crates/**"]'
2222

2323
typescript:
2424
needs: pre_job

β€Ž.github/workflows/python.ymlβ€Ž

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
with:
5151
target: ${{ matrix.platform.target }}
5252
maturin-version: v1.7.1
53-
working-directory: crates/cli
53+
working-directory: crates/squawk
5454
args: --release --out dist ${{ matrix.platform.maturin-options }}
5555
manylinux: ${{ matrix.platform.manylinux }}
5656
sccache: "true"
@@ -59,7 +59,7 @@ jobs:
5959
uses: actions/upload-artifact@v4
6060
with:
6161
name: wheels-linux-${{ matrix.platform.target }}
62-
path: crates/cli/dist
62+
path: crates/squawk/dist
6363
if-no-files-found: error
6464

6565
windows:
@@ -79,14 +79,14 @@ jobs:
7979
uses: PyO3/maturin-action@v1
8080
with:
8181
target: ${{ matrix.platform.target }}
82-
working-directory: crates/cli
82+
working-directory: crates/squawk
8383
args: --release --out dist
8484
sccache: "true"
8585
- name: Upload wheels
8686
uses: actions/upload-artifact@v4
8787
with:
8888
name: wheels-windows-${{ matrix.platform.target }}
89-
path: crates/cli/dist
89+
path: crates/squawk/dist
9090
if-no-files-found: error
9191

9292
macos:
@@ -106,14 +106,14 @@ jobs:
106106
uses: PyO3/maturin-action@v1
107107
with:
108108
target: ${{ matrix.platform.target }}
109-
working-directory: crates/cli
109+
working-directory: crates/squawk
110110
args: --release --out dist
111111
sccache: "true"
112112
- name: Upload wheels
113113
uses: actions/upload-artifact@v4
114114
with:
115115
name: wheels-macos-${{ matrix.platform.target }}
116-
path: crates/cli/dist
116+
path: crates/squawk/dist
117117
if-no-files-found: error
118118

119119
sdist:
@@ -126,13 +126,13 @@ jobs:
126126
uses: PyO3/maturin-action@v1
127127
with:
128128
command: sdist
129-
working-directory: crates/cli
129+
working-directory: crates/squawk
130130
args: --out dist
131131
- name: Upload sdist
132132
uses: actions/upload-artifact@v4
133133
with:
134134
name: wheels-sdist
135-
path: crates/cli/dist
135+
path: crates/squawk/dist
136136
if-no-files-found: error
137137

138138
release:

β€ŽCargo.lockβ€Ž

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

β€ŽCargo.tomlβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ convert_case = "0.7.1"
4747
clap = { version = "4.5.8", features = ["derive"] }
4848

4949
# local
50-
squawk-github = { version = "0.0.0", path = "./crates/github" }
50+
squawk_github = { version = "0.0.0", path = "./crates/squawk_github" }
5151
squawk_lexer = { version = "0.0.0", path = "./crates/squawk_lexer" }
5252
squawk_parser = { version = "0.0.0", path = "./crates/squawk_parser" }
5353
squawk_syntax = { version = "0.0.0", path = "./crates/squawk_syntax" }
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ enum-iterator.workspace = true
2929
squawk_syntax.workspace = true
3030
squawk_linter.workspace = true
3131
squawk_lexer.workspace = true
32-
squawk-github.workspace = true
32+
squawk_github.workspace = true
3333
toml.workspace = true
3434
glob.workspace = true
3535
anyhow.workspace = true

0 commit comments

Comments
Β (0)