Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History
executable file
·
36 lines (33 loc) · 1.25 KB

File metadata and controls

executable file
·
36 lines (33 loc) · 1.25 KB
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#!/bin/bash -ex
# Install packages that are necessary and/or useful to build and debug
# HTTPS Everywhere
set -o errexit -o xtrace
if type apt-get >/dev/null ; then
BROWSERS="firefox chromium-browser"
if [[ "$(lsb_release -is)" == "Debian" ]]; then
# Iceweasel is the rebranded Firefox that Debian ships, and Chromium
# takes the name of 'chromium' instead of 'chromium-browser' in
# Debian 7 (wheezy) and later.
BROWSERS="iceweasel chromium"
fi
sudo apt-get install libxml2-dev libxml2-utils libxslt1-dev python-dev \
$BROWSERS zip sqlite3 python-pip libcurl4-openssl-dev
elif type brew >/dev/null ; then
brew list python &>/dev/null || brew install python
brew install libxml2 gnu-sed
if ! echo $PATH | grep -ql /usr/local/bin ; then
echo '/usr/local/bin not found in $PATH, please add it.'
fi
elif type dnf >/dev/null ; then
sudo dnf install libxml2-devel python-devel libxslt-devel
fi
# Get the addon SDK submodule and rule checker
git submodule init
git submodule update
# Install Python packages
pip install --user --no-allow-insecure --no-allow-external -r requirements.txt
cd https-everywhere-checker
pip install --user -r requirements.txt
cd -
# Install a hook to run tests before pushing.
ln -sf ../../test.sh .git/hooks/pre-push
Morty Proxy This is a proxified and sanitized view of the page, visit original site.