forked from mirrors/gstreamer-rs
Don't checkout submodules by default
This makes sure that cargo does not clone and checkout all the submodules if pointing to this repository as a git dependency. To checkout the submodules `git submodule update --checkout` can be used.
This commit is contained in:
parent
35c6af424d
commit
d00b289621
2 changed files with 5 additions and 0 deletions
|
@ -524,6 +524,7 @@ doc-stripping:
|
||||||
- job: 'build-nightly'
|
- job: 'build-nightly'
|
||||||
artifacts: false
|
artifacts: false
|
||||||
script:
|
script:
|
||||||
|
- git submodule update --checkout
|
||||||
- PATH=~/.cargo/bin/:$PATH ./generator.py --gir-files-directories gir-files gst-gir-files --strip-docs --no-fmt
|
- PATH=~/.cargo/bin/:$PATH ./generator.py --gir-files-directories gir-files gst-gir-files --strip-docs --no-fmt
|
||||||
- git diff --quiet || (echo 'Files changed after running `rustdoc-stripper -s`, make sure all documentation is protected with `// rustdoc-stripper-ignore-next`!'; git diff; false)
|
- git diff --quiet || (echo 'Files changed after running `rustdoc-stripper -s`, make sure all documentation is protected with `// rustdoc-stripper-ignore-next`!'; git diff; false)
|
||||||
|
|
||||||
|
@ -536,6 +537,7 @@ docs:
|
||||||
- job: 'build-nightly'
|
- job: 'build-nightly'
|
||||||
artifacts: false
|
artifacts: false
|
||||||
script:
|
script:
|
||||||
|
- git submodule update --checkout
|
||||||
- curl --proto '=https' --tlsv1.2 -sSf -o gir-rustdoc.py
|
- curl --proto '=https' --tlsv1.2 -sSf -o gir-rustdoc.py
|
||||||
https://gitlab.gnome.org/World/Rust/gir-rustdoc/-/raw/main/gir-rustdoc.py
|
https://gitlab.gnome.org/World/Rust/gir-rustdoc/-/raw/main/gir-rustdoc.py
|
||||||
- chmod +x gir-rustdoc.py
|
- chmod +x gir-rustdoc.py
|
||||||
|
|
3
.gitmodules
vendored
3
.gitmodules
vendored
|
@ -1,9 +1,12 @@
|
||||||
[submodule "gir"]
|
[submodule "gir"]
|
||||||
path = gir
|
path = gir
|
||||||
url = https://github.com/gtk-rs/gir
|
url = https://github.com/gtk-rs/gir
|
||||||
|
update = none
|
||||||
[submodule "gir-files"]
|
[submodule "gir-files"]
|
||||||
path = gir-files
|
path = gir-files
|
||||||
url = https://github.com/gtk-rs/gir-files
|
url = https://github.com/gtk-rs/gir-files
|
||||||
|
update = none
|
||||||
[submodule "gst-gir-files"]
|
[submodule "gst-gir-files"]
|
||||||
path = gst-gir-files
|
path = gst-gir-files
|
||||||
url = https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git
|
url = https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git
|
||||||
|
update = none
|
||||||
|
|
Loading…
Reference in a new issue