mirror of
https://github.com/ankitects/anki.git
synced 2026-10-02 05:24:38 +08:00
Two build fixes found while getting the build working on FreeBSD.
1. **Remove hardcoded `#!/bin/bash` paths and use /usr/bin/env instead
/**
2. **env_remove("YARN_BINARY")**
Tested on FreeBSD 16.0-CURRENT amd64.
A second series adds FreeBSD support with `platform` variants,
environment overrides, PyQt6 handling and docs.
Closes #5301
13 lines
335 B
Bash
Executable File
13 lines
335 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Copyright: Ankitects Pty Ltd and contributors
|
|
# License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|
|
|
# Manually trigger a rebuild and reload of Anki's web stack
|
|
|
|
# NOTE: This script needs to be run from the project root
|
|
|
|
set -e
|
|
|
|
./ninja qt
|
|
./out/pyenv/bin/python tools/reload_webviews.py
|