Fix generation issues
This commit is contained in:
parent
dfcc6f74b9
commit
31059a780d
1 changed files with 13 additions and 18 deletions
31
build.sh
31
build.sh
|
@ -1,11 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
set -eo pipefail
|
set -eo pipefail
|
||||||
|
|
||||||
# So we don't need to replace all lines for one single environment variable or sth else
|
|
||||||
function generate-link() {
|
|
||||||
LINKGEN_NO_DEFAULT=y ./build.sh $@
|
|
||||||
}
|
|
||||||
|
|
||||||
# Clone website-redirector if not present
|
# Clone website-redirector if not present
|
||||||
if [ ! -f "website-redirector/build.sh" ]; then
|
if [ ! -f "website-redirector/build.sh" ]; then
|
||||||
git submodule update --init --recursive
|
git submodule update --init --recursive
|
||||||
|
@ -16,21 +11,21 @@ cd website-redirector
|
||||||
rm -rf out
|
rm -rf out
|
||||||
|
|
||||||
# Add general links
|
# Add general links
|
||||||
generate-link "website" "JeremyStarTM's website" "https://jstm.staropensource.de"
|
LINKGEN_NO_DEFAULT=y ./build.sh "website" "JeremyStarTM's website" "https://jstm.staropensource.de"
|
||||||
# Add social links
|
# Add social links
|
||||||
generate-link "social-fedi" "JeremyStarTM's fediverse profile" "https://fly.staropensource.de/@jeremystartm"
|
LINKGEN_NO_DEFAULT=y ./build.sh "social-fedi" "JeremyStarTM's fediverse profile" "https://fly.staropensource.de/@jeremystartm"
|
||||||
generate-link "social-email" "JeremyStarTM's email address" "mailto:jeremystartm@staropensource.de"
|
LINKGEN_NO_DEFAULT=y ./build.sh "social-email" "JeremyStarTM's email address" "mailto:jeremystartm@staropensource.de"
|
||||||
generate-link "social-mail "JeremyStarTM's email address" "/social-email"
|
LINKGEN_NO_DEFAULT=y ./build.sh "social-mail "JeremyStarTM's email address" "/social-email"
|
||||||
generate-link "social-discord" "JeremyStarTM's Discord guild" "https://discord.gg/4HEu5qkcU4
|
LINKGEN_NO_DEFAULT=y ./build.sh "social-discord" "JeremyStarTM's Discord guild" "https://discord.gg/4HEu5qkcU4
|
||||||
# Add repository links
|
# Add repository links
|
||||||
generate-link "repos" "JeremyStarTM's repositories" "https://git.staropensource.de/JeremyStarTM"
|
LINKGEN_NO_DEFAULT=y ./build.sh "repos" "JeremyStarTM's repositories" "https://git.staropensource.de/JeremyStarTM"
|
||||||
generate-link "repos-kernel" "JeremyStarTM's optimized linux kernel repository" "https://git.staropensource.de/JeremyStarTM/kernel-optimized"
|
LINKGEN_NO_DEFAULT=y ./build.sh "repos-kernel" "JeremyStarTM's optimized linux kernel repository" "https://git.staropensource.de/JeremyStarTM/kernel-optimized"
|
||||||
generate-link "repos-usrdotfiles" "JeremyStarTM's dotfiles" "https://git.staropensource.de/JeremyStarTM/punktdateien"
|
LINKGEN_NO_DEFAULT=y ./build.sh "repos-usrdotfiles" "JeremyStarTM's dotfiles" "https://git.staropensource.de/JeremyStarTM/punktdateien"
|
||||||
generate-link "repos-sysdotfiles" "JeremyStarTM's system-wide dotfiles" "https://git.staropensource.de/JeremyStarTM/syspunktdateien"
|
LINKGEN_NO_DEFAULT=y ./build.sh "repos-sysdotfiles" "JeremyStarTM's system-wide dotfiles" "https://git.staropensource.de/JeremyStarTM/syspunktdateien"
|
||||||
generate-link "repos-presencode" "Presencode repository" "https://git.staropensource.de/JeremyStarTM/Presencode"
|
LINKGEN_NO_DEFAULT=y ./build.sh "repos-presencode" "Presencode repository" "https://git.staropensource.de/JeremyStarTM/Presencode"
|
||||||
generate-link "repos-osuboot" "osu!boot repository" "https://git.staropensource.de/JeremyStarTM/osuboot"
|
LINKGEN_NO_DEFAULT=y ./build.sh "repos-osuboot" "osu!boot repository" "https://git.staropensource.de/JeremyStarTM/osuboot"
|
||||||
generate-link "repos-docker-pihole" "JeremyStarTM#s dockerized Pi-hole setup repository" "https://git.staropensource.de/JeremyStarTM/pihole-docker"
|
LINKGEN_NO_DEFAULT=y ./build.sh "repos-docker-pihole" "JeremyStarTM#s dockerized Pi-hole setup repository" "https://git.staropensource.de/JeremyStarTM/pihole-docker"
|
||||||
generate-link "repos-docker-minecraft" "JeremyStarTM's dockerized Minecraft server setup repository" "https://git.staropensource.de/JeremyStarTM/MCServerDocker"
|
LINKGEN_NO_DEFAULT=y ./build.sh "repos-docker-minecraft" "JeremyStarTM's dockerized Minecraft server setup repository" "https://git.staropensource.de/JeremyStarTM/MCServerDocker"
|
||||||
# Add index
|
# Add index
|
||||||
cat << EOF > out/index.html
|
cat << EOF > out/index.html
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
|
|
Loading…
Reference in a new issue