Skip to content

Commit 0501d82

Browse files
committed
docs: build script correction
1 parent 91b5087 commit 0501d82

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/build.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ cd "$( dirname "${BASH_SOURCE[0]}" )"
44

55
doxygen Doxyfile 2>&1 | ./filter-Doxygen-warning.awk 1>&2
66

7-
find html -name '*.html' | xargs sed -i '/<\/head>/ i\<script async src="https://www.googletagmanager.com/gtag/js?id=G-MLZ5G2C4X2"></script><script>window.dataLayer=[];function gtag(){dataLayer.push(arguments);}if(location.hostname.endsWith(".yoursunny.dev")){gtag("js",new Date());gtag("config","G-MLZ5G2C4X2");}</script></script>'
7+
find html -name '*.html' | xargs sed -i '/<\/head>/ i\<script async src="https://www.googletagmanager.com/gtag/js?id=G-MLZ5G2C4X2"></script><script>window.dataLayer=[];function gtag(){dataLayer.push(arguments);}if(location.hostname.endsWith(".yoursunny.dev")){gtag("js",new Date());gtag("config","G-MLZ5G2C4X2");}</script>'
88
cp _redirects html/

mk/format-code.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/bash
2-
set -eo pipefail
2+
set -euo pipefail
33
cd "$( dirname "${BASH_SOURCE[0]}" )"/..
44

55
find -name '*.h' -or -name '*.[hc]pp' -or -name '*.ino' | \

0 commit comments

Comments
 (0)