-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
7 changed files
with
72 additions
and
92 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,25 @@ | ||
[package] | ||
name = "snipr" | ||
version = "0.1.0" | ||
name = "snip-cli" | ||
version = "0.1.1" | ||
edition = "2021" | ||
authors = ["Uriah G. <[email protected]>"] | ||
description = "A CLI tool (snipr) for managing Neovim and VSCode snippets" | ||
description = "A CLI tool (snip-cli) for managing Neovim and VSCode snippets" | ||
readme = "README.md" | ||
license = "MIT" | ||
keywords = ["neovim", "snippets", "rust", "cli", "vscode"] | ||
categories = ["command-line-utilities"] | ||
|
||
# use in Github workflow `release` | ||
[[bin]] | ||
name = "snip" | ||
path = "src/main.rs" | ||
|
||
# Used when Bunding for OSX | ||
[[bin]] | ||
name = "snip-cli" | ||
path = "src/main.rs" | ||
|
||
|
||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
|
||
[dependencies] | ||
|
@@ -22,15 +34,15 @@ dirs-next = "2.0.0" | |
dotenv = { version = "0.15.0", features = ["clap"] } | ||
|
||
[package.metadata.bundle] | ||
name = "snipr" # The name of your application | ||
identifier = "com.codeitlikemiley.snipr" # The bundle identifier of your application | ||
name = "snip" # The name of your application | ||
identifier = "com.codeitlikemiley.snip" # The bundle identifier of your application | ||
copyright = "Copyright (c) codeitlikemiley 2023. All rights reserved." | ||
category = "Developer Tool" | ||
short_description = "A CLI tool for managing Neovim and VSCode snippets" | ||
long_description = "A CLI tool for managing Neovim and VSCode snippets" | ||
version = "0.1.0" # Version of your application | ||
version = "0.1.1" # Version of your application | ||
osx_url_schemes = [ | ||
"com.codeitlikemiley.snipr", | ||
"com.codeitlikemiley.snip", | ||
] # URL schemes your application supports | ||
script = "scripts/postinstall" # Path to your postinstall script | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
#!/bin/sh | ||
|
||
cargo clean | ||
rm snipr.pkg | ||
rm snip.pkg | ||
cargo zigbuild --release | ||
cargo bundle --release | ||
pkgbuild --root ./target/release/bundle/osx/snipr.app --install-location "/Applications/snipr.app" --identifier com.codeitlikemiley.snipr --version 0.1.0 --scripts ./scripts snipr.pkg | ||
pkgbuild --root ./target/release/bundle/osx/snip.app --install-location "/Applications/snip.app" --identifier com.codeitlikemiley.snip --version 0.1.0 --scripts ./scripts snip.pkg |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters