From: Jérémie Astor Date: Tue, 22 Sep 2020 12:47:35 +0000 (+0200) Subject: Use cmojify X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=e8bf1a227ed5d657e7693d57a855d6892a070ec8;p=gwion.git Use cmojify --- diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8274cb86..7494ffe2 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -18,26 +18,19 @@ jobs: - name: Dependencies run: bash scripts/update.sh - - uses: fennecdjay/emojify-docker-action@v2 - name: Emojify - with: - directory: 'docs' - - name: MdBook uses: peaceiris/actions-mdbook@v1 with: mdbook-version: 'latest' - - name: Get becnhmarks + - name: Get benchmarks run: | git submodule update --init gwion-benchmark cd gwion-benchmark git pull origin results - name: Build book - run: | - export PATH=$PWD:$PATH - make build + run: PATH=$PWD:$PATH make build - name: GIT things run: | diff --git a/scripts/mdr2mdbook.sh b/scripts/mdr2mdbook.sh index cc47c1d0..453b4934 100644 --- a/scripts/mdr2mdbook.sh +++ b/scripts/mdr2mdbook.sh @@ -11,7 +11,8 @@ EOF } mk_target() { - sed 's/```.*gw/```cpp/' $1 | + cmojify "$(cat $1)" | + sed 's/```.*gw/```cpp/' | sed 's#:gwion:#[Gwion](https://github.com/fennecdjay/Gwion)#g' footer } diff --git a/scripts/update.sh b/scripts/update.sh index 03e7d598..c28a2d71 100644 --- a/scripts/update.sh +++ b/scripts/update.sh @@ -17,3 +17,4 @@ update() { update fennecdjay Gwion update fennecdjay mdr +update fennecdjay cmojify