diff --git a/Cargo.lock b/Cargo.lock index b6bce41..bc26db6 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1380,7 +1380,7 @@ dependencies = [ [[package]] name = "userland" -version = "0.1.0" +version = "0.1.1" dependencies = [ "failure", "maplit 0.1.6", diff --git a/Makefile b/Makefile index 6b47d06..f8e923f 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -.PHONY: all release test clean +.PHONY: all release test clean publish-all all: clean release @@ -12,4 +12,10 @@ clean: release: cargo build --release mkdir -p artifacts - cp target/release/pkg6dev artifacts/ \ No newline at end of file + cp target/release/pkg6dev artifacts/ + +publish-all: publish.libips publish.pkg6dev + +publish.%: CRATE=$* +publish.%: + cd $(CRATE); cargo publish \ No newline at end of file diff --git a/pkg6dev/Cargo.toml b/pkg6dev/Cargo.toml index 2ca0510..a69f8a3 100644 --- a/pkg6dev/Cargo.toml +++ b/pkg6dev/Cargo.toml @@ -13,7 +13,7 @@ keywords = ["packaging", "illumos"] [dependencies] libips = {path = "../libips", version = "0.1.1"} -userland = {path = "../userland"} +userland = {path = "../userland", version = "0.1.1"} failure = "0.1.8" failure_derive = "0.1.8" clap = "~3.0.0-beta.2" \ No newline at end of file diff --git a/userland/Cargo.toml b/userland/Cargo.toml index caf84a4..00702fa 100644 --- a/userland/Cargo.toml +++ b/userland/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "userland" -version = "0.1.0" +version = "0.1.1" authors = ["Till Wegmueller "] edition = "2018"