Mercurial
annotate mrjunejune/generate-icons.sh @ 270:358dd5950985
sync production config on every deploy
Always install the ignored repository .config into /etc/mrjunejune before promoting the new bundle.
Co-authored-by: Copilot <[email protected]>
| author | MrJuneJune <me@mrjunejune.com> |
|---|---|
| date | Fri, 07 Aug 2026 13:16:47 -0700 |
| parents | 9c2eec61a152 |
| children |
| rev | line source |
|---|---|
|
241
9c2eec61a152
[assets] Generate site images as WebP with Bazel
MrJuneJune <me@mrjunejune.com>
parents:
209
diff
changeset
|
1 #!/usr/bin/env bash |
|
9c2eec61a152
[assets] Generate site images as WebP with Bazel
MrJuneJune <me@mrjunejune.com>
parents:
209
diff
changeset
|
2 set -euo pipefail |
| 209 | 3 |
|
241
9c2eec61a152
[assets] Generate site images as WebP with Bazel
MrJuneJune <me@mrjunejune.com>
parents:
209
diff
changeset
|
4 workspace="$(hg root)" |
|
9c2eec61a152
[assets] Generate site images as WebP with Bazel
MrJuneJune <me@mrjunejune.com>
parents:
209
diff
changeset
|
5 cd "$workspace" |
| 209 | 6 |
|
241
9c2eec61a152
[assets] Generate site images as WebP with Bazel
MrJuneJune <me@mrjunejune.com>
parents:
209
diff
changeset
|
7 bazel build //mrjunejune:generated_webp_assets |
|
9c2eec61a152
[assets] Generate site images as WebP with Bazel
MrJuneJune <me@mrjunejune.com>
parents:
209
diff
changeset
|
8 echo "Generated WebP assets are under bazel-bin/mrjunejune/generated_webp/." |