- Add remove-jq-dependency.patch * Fixes build errors with mdbook >= 0.5.0 OBS-URL: https://build.opensuse.org/package/show/utilities/difftastic?expand=0&rev=32
18 lines
497 B
Diff
18 lines
497 B
Diff
--- a/manual/book.toml
|
|
+++ b/manual/book.toml
|
|
@@ -14,6 +14,3 @@ git-repository-url = "https://github.com/wilfred/difftastic"
|
|
|
|
[output.html.playground]
|
|
copyable = false
|
|
-
|
|
-[preprocessor.replace-version-placeholder]
|
|
-command = "./replace_version_placeholder.sh"
|
|
--- a/manual/replace_version_placeholder.sh
|
|
+++ /dev/null
|
|
@@ -1,5 +0,0 @@
|
|
-#!/bin/bash
|
|
-
|
|
-DFT_VERSION=$(cargo read-manifest | jq -r .version)
|
|
-
|
|
-jq .[1] | jq '.sections[0].Chapter.content |= sub("DFT_VERSION_HERE"; "'$DFT_VERSION'")'
|