From 672d09ee470cafe82c3cedd40d6afde70fffdcf5 Mon Sep 17 00:00:00 2001 From: Kevin Chen Date: Wed, 23 Aug 2023 13:27:58 -0400 Subject: [PATCH] +mdbook --- .../rust-lang.github.io/mdBook/package.yml | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 projects/rust-lang.github.io/mdBook/package.yml diff --git a/projects/rust-lang.github.io/mdBook/package.yml b/projects/rust-lang.github.io/mdBook/package.yml new file mode 100644 index 00000000..e7db6423 --- /dev/null +++ b/projects/rust-lang.github.io/mdBook/package.yml @@ -0,0 +1,21 @@ +distributable: + url: https://github.com/rust-lang/mdBook/archive/refs/tags/v{{ version }}.tar.gz + strip-components: 1 + +provides: + - bin/mdbook + +versions: + github: rust-lang/mdBook + strip: /v/ + +build: + dependencies: + rust-lang.org: '>=1.65' + rust-lang.org/cargo: '*' + script: + cargo install --locked --path . --root {{prefix}} + +test: + script: + - test "$(mdbook --version)" = "mdbook v{{version}}"