diff options
| author | Eltrac <hi@guhub.cn> | 2025-10-21 11:12:16 +0800 |
|---|---|---|
| committer | Eltrac <hi@guhub.cn> | 2025-10-21 11:12:16 +0800 |
| commit | e1bc41f5014565d1f3a2f26deccce1932fbd24fd (patch) | |
| tree | 3b7ddbf8db5661d2e5dc959410ce92379236b2af /build.sh | |
| parent | 802a8e883897a70a40f23ae1cbf60823482f5a3e (diff) | |
chore(CI/CD): rewrite pre-build Python scripts with Go
Former-commit-id: fbd878474f1af38605090307571c03b8409a077c
Diffstat (limited to 'build.sh')
| -rw-r--r-- | build.sh | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -19,7 +19,7 @@ main() { # ===== Install All Dependencies ===== # - echo "🏗️ Installing all dependencies...\n" + echo "🏗️ Installing all dependencies..." # Install Python echo "Installing Python ${PYTHON_VERSION}..." @@ -59,8 +59,11 @@ main() { # ===== Execute Pre-Hugo Actions ===== # - echo "🏗️ Executing Python Scripts..." - python3 scripts/run_scripts.py + echo "🏗️ Building and Running Custom Go Scripts" + go build -o extract_highlights extract_highlights.go + go build -o extract_links extract_links.go + ./extract_highlights + ./extract_links echo "🏗️ Building UnoCSS..." npm run build:uno:prod |
