forked from zotan/snowleopard
22 lines
399 B
Bash
Executable file
22 lines
399 B
Bash
Executable file
#!/bin/bash
|
|
set -e
|
|
|
|
# Clean repo
|
|
cd ./mozilla-unified
|
|
git reset --hard
|
|
git clean -fd
|
|
|
|
# Prepare assets
|
|
mkdir -p snowleopard
|
|
cp ../assets/mozconfig mozconfig
|
|
cp ../assets/{prefs.js,policies.json,moz.build,userChrome.css,userContent.css} snowleopard/
|
|
|
|
# Prepare patches
|
|
for patch in ../patches/*.patch; do
|
|
echo "Applying $(basename "$patch")"
|
|
git apply "$patch"
|
|
done
|
|
|
|
# Build the thing
|
|
./mach build
|