snowleopard/build.sh

22 lines
399 B
Bash
Raw Permalink Normal View History

2023-10-26 20:26:46 +02:00
#!/bin/bash
set -e
# Clean repo
cd ./mozilla-unified
git reset --hard
git clean -fd
# Prepare assets
2023-10-27 22:39:33 +02:00
mkdir -p snowleopard
2023-10-26 20:26:46 +02:00
cp ../assets/mozconfig mozconfig
2023-11-03 22:07:07 +01:00
cp ../assets/{prefs.js,policies.json,moz.build,userChrome.css,userContent.css} snowleopard/
2023-10-26 20:26:46 +02:00
# Prepare patches
2023-10-27 22:39:33 +02:00
for patch in ../patches/*.patch; do
echo "Applying $(basename "$patch")"
git apply "$patch"
done
2023-10-26 20:26:46 +02:00
# Build the thing
./mach build