Skip to content

Commit

Permalink
remove legacy binary and bump version (#19)
Browse files Browse the repository at this point in the history
  • Loading branch information
cryptaliagy authored Jan 15, 2025
1 parent 8866b53 commit 3dd83cb
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 88 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -81,10 +81,8 @@ jobs:
run: |
mv target/${{ matrix.architecture.target }}/release/${{ env.PACKAGE_NAME }} \
./output/${{ env.PACKAGE_NAME }}
mv target/${{ matrix.architecture.target }}/release/tomlq \
./output/tomlq
tar czvf ./output/tomlq.${{ matrix.architecture.name }}.tgz -C ./output tq tomlq
rm ./output/tomlq ./output/tq
tar czvf ./output/tomlq.${{ matrix.architecture.name }}.tgz -C ./output tq
rm ./output/tq
- name: Upload the binary as an artifact
uses: actions/upload-artifact@v4
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.

26 changes: 15 additions & 11 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "tomlq"
version = "0.1.6"
version = "0.2.0"
authors = [
"Natalia Maximo <[email protected]>",
"James Munns <[email protected]>",
Expand All @@ -12,22 +12,26 @@ description = "A tool for obtaining information from a TOML file on the command

[dependencies]
toml = "0.8"
clap = { version = "4.5", features = ["derive", "usage", "help"], optional = true }
clap = { version = "4.5", features = [
"derive",
"usage",
"help",
], optional = true }
colored = { version = "2.1.0", optional = true }
thiserror = "1.0.61"
console = { version = "0.15.8", features = ["windows-console-colors"], optional = true }
console = { version = "0.15.8", features = [
"windows-console-colors",
], optional = true }
anyhow = { version = "1.0.86", features = ["backtrace"], optional = true }
bat = { version = "0.24.0", optional = true, default-features = false, features = ["build-assets", "regex-fancy"] }
bat = { version = "0.24.0", optional = true, default-features = false, features = [
"build-assets",
"regex-fancy",
] }


[dependencies.serde_json]
[dependencies.serde_json]
version = "1.0.120"
features = [
"indexmap",
"preserve_order",
"raw_value",
"unbounded_depth",
]
features = ["indexmap", "preserve_order", "raw_value", "unbounded_depth"]
optional = true

[features]
Expand Down
71 changes: 0 additions & 71 deletions src/bin/tomlq.rs

This file was deleted.

0 comments on commit 3dd83cb

Please sign in to comment.