Move libostree-sys/ to sys/

This commit is contained in:
Felix Krull 2018-10-20 12:31:37 +02:00 committed by Colin Walters
parent 7c29936b84
commit 20dca2630c
11 changed files with 6 additions and 6 deletions

View File

@ -16,19 +16,19 @@ stages:
libostree-sys: libostree-sys:
stage: build stage: build
script: script:
- cargo test --verbose --manifest-path libostree-sys/Cargo.toml - cargo test --verbose --manifest-path sys/Cargo.toml
libostree-sys_nightly: libostree-sys_nightly:
stage: build stage: build
image: rustlang/rust:nightly image: rustlang/rust:nightly
script: script:
- cargo test --verbose --manifest-path libostree-sys/Cargo.toml - cargo test --verbose --manifest-path sys/Cargo.toml
allow_failure: true allow_failure: true
publish_libostree-sys: publish_libostree-sys:
stage: publish stage: publish
script: script:
- cargo publish --verbose --manifest-path libostree-sys/Cargo.toml --token $CRATES_IO_TOKEN - cargo publish --verbose --manifest-path sys/Cargo.toml --token $CRATES_IO_TOKEN
when: manual when: manual
# libostree # libostree

View File

@ -14,7 +14,7 @@ readme = "README.md"
exclude = [ exclude = [
"conf/**", "conf/**",
"gir-files/**", "gir-files/**",
"libostree-sys/**", "sys/**",
".gitlab-ci.yml", ".gitlab-ci.yml",
] ]
@ -36,7 +36,7 @@ gio = "0.5"
glib-sys = "0.7" glib-sys = "0.7"
gobject-sys = "0.7" gobject-sys = "0.7"
gio-sys = "0.7" gio-sys = "0.7"
libostree-sys = { version = "0.1", path = "libostree-sys" } libostree-sys = { version = "0.1", path = "sys" }
[dev-dependencies] [dev-dependencies]
tempfile = "3" tempfile = "3"

View File

@ -2,7 +2,7 @@
work_mode = "sys" work_mode = "sys"
library = "OSTree" library = "OSTree"
version = "1.0" version = "1.0"
target_path = "../libostree-sys" target_path = "../sys"
external_libraries = [ external_libraries = [
"GLib", "GLib",
"GObject", "GObject",