Fixed publish
This commit is contained in:
parent
63cb562ac1
commit
c53f91e840
8
Cargo.lock
generated
8
Cargo.lock
generated
@ -82,6 +82,14 @@ dependencies = [
|
||||
[[package]]
|
||||
name = "gitignore"
|
||||
version = "0.1.0"
|
||||
dependencies = [
|
||||
"eyre",
|
||||
"gitignore_inner",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "gitignore_inner"
|
||||
version = "0.1.0"
|
||||
dependencies = [
|
||||
"clap",
|
||||
"console",
|
||||
|
22
Cargo.toml
22
Cargo.toml
@ -1,4 +1,24 @@
|
||||
[package]
|
||||
name = "gitignore"
|
||||
version = "0.1.0"
|
||||
authors = ["Kasper J. Hermansen <contact@kjuulh.io>"]
|
||||
license = "MIT"
|
||||
readme = "README.md"
|
||||
keywords = ["git", "ignore", "clap", "interactive"]
|
||||
repository = "https://github.com/kjuulh/gitignore"
|
||||
documentation = "https://docs.rs/gitignore"
|
||||
description = """
|
||||
gitignore is a tool for easily adding patterns to gitignore and cleaning up afterwards
|
||||
"""
|
||||
categories = ["git-tools"]
|
||||
edition = "2021"
|
||||
|
||||
[workspace]
|
||||
members = [
|
||||
"crates/gitignore"
|
||||
"crates/gitignore_inner"
|
||||
]
|
||||
|
||||
[dependencies]
|
||||
eyre = "0.6.8"
|
||||
gitignore_inner = {path = "crates/gitignore_inner", version = "0.1.0"}
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
[package]
|
||||
name = "gitignore"
|
||||
name = "gitignore_inner"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
|
@ -5,7 +5,7 @@ use std::{env::current_dir, io::Read, path::PathBuf};
|
||||
use tracing_subscriber::layer::SubscriberExt;
|
||||
use tracing_subscriber::util::SubscriberInitExt;
|
||||
|
||||
fn main() -> eyre::Result<()> {
|
||||
pub fn main() -> eyre::Result<()> {
|
||||
let matches = Command::new("gitignore")
|
||||
.version("0.1")
|
||||
.author("Kasper J. Hermansen <contact@kjuulh.io>")
|
3
src/main.rs
Normal file
3
src/main.rs
Normal file
@ -0,0 +1,3 @@
|
||||
fn main() -> eyre::Result<()> {
|
||||
gitignore_inner::main()
|
||||
}
|
Loading…
Reference in New Issue
Block a user