summaryrefslogtreecommitdiff
path: root/security/nss/automation/taskcluster/windows/build.sh
blob: 46136153d0e3de695e1e25e70436d7ce974c8aad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/env bash

set -v -e -x

# Set up the toolchain.
if [ "$USE_64" = 1 ]; then
  source $(dirname $0)/setup64.sh
else
  source $(dirname $0)/setup32.sh
fi

# Clone NSPR.
hg_clone https://hg.mozilla.org/projects/nspr nspr default

# Build.
make -C nss nss_build_all

# Package.
7z a public/build/dist.7z dist