Fixing makefile targets,

Added Version to userland crate
This commit is contained in:
Till Wegmueller 2021-05-01 16:21:17 -03:00
parent 665ea0bed1
commit 3c4f75ab5c
4 changed files with 11 additions and 5 deletions

2
Cargo.lock generated
View file

@ -1380,7 +1380,7 @@ dependencies = [
[[package]] [[package]]
name = "userland" name = "userland"
version = "0.1.0" version = "0.1.1"
dependencies = [ dependencies = [
"failure", "failure",
"maplit 0.1.6", "maplit 0.1.6",

View file

@ -1,4 +1,4 @@
.PHONY: all release test clean .PHONY: all release test clean publish-all
all: clean release all: clean release
@ -13,3 +13,9 @@ release:
cargo build --release cargo build --release
mkdir -p artifacts mkdir -p artifacts
cp target/release/pkg6dev artifacts/ cp target/release/pkg6dev artifacts/
publish-all: publish.libips publish.pkg6dev
publish.%: CRATE=$*
publish.%:
cd $(CRATE); cargo publish

View file

@ -13,7 +13,7 @@ keywords = ["packaging", "illumos"]
[dependencies] [dependencies]
libips = {path = "../libips", version = "0.1.1"} libips = {path = "../libips", version = "0.1.1"}
userland = {path = "../userland"} userland = {path = "../userland", version = "0.1.1"}
failure = "0.1.8" failure = "0.1.8"
failure_derive = "0.1.8" failure_derive = "0.1.8"
clap = "~3.0.0-beta.2" clap = "~3.0.0-beta.2"

View file

@ -1,6 +1,6 @@
[package] [package]
name = "userland" name = "userland"
version = "0.1.0" version = "0.1.1"
authors = ["Till Wegmueller <toasterson@gmail.com>"] authors = ["Till Wegmueller <toasterson@gmail.com>"]
edition = "2018" edition = "2018"