From e42de8fe520916a105b4f98569530dbe16159a56 Mon Sep 17 00:00:00 2001 From: Tim 'mithro' Ansell Date: Fri, 26 Apr 2019 14:28:20 -0500 Subject: [PATCH] docs: Adding script to pull useful docs from LiteX BuildEnv's wiki. --- doc/pull-docs-from-buildenv-wiki.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 doc/pull-docs-from-buildenv-wiki.sh diff --git a/doc/pull-docs-from-buildenv-wiki.sh b/doc/pull-docs-from-buildenv-wiki.sh new file mode 100755 index 00000000..04690d64 --- /dev/null +++ b/doc/pull-docs-from-buildenv-wiki.sh @@ -0,0 +1,14 @@ +#!/bin/bash + +# Soft-CPU - Description about supported Soft-CPUs. +# BIOS - Information about the BIOS and what it is used for. +# Firmware - Information about compatible Firmware. + +for page in Soft-CPU BIOS Firmware; do + curl https://raw.githubusercontent.com/wiki/timvideos/litex-buildenv/${page}.md > ${page}.md + git add ${page}.md +done + +GIT_MSG=$(tempfile) || exit +trap "rm -f -- '$GIT_MSG'" EXIT +git commit --message "Updating documents from LiteX BuildEnv Wiki" -- 2.30.2