Add build from source

This commit is contained in:
Xiaonan Shen
2020-06-01 06:51:24 -07:00
parent cc6eba9bf2
commit 55175292b0
5 changed files with 82 additions and 0 deletions

16
build/build.sh Normal file
View File

@@ -0,0 +1,16 @@
#!/bin/bash
set -ex
VERSION=`cat VERSION`
# Clone new code
git clone https://github.com/ProtonMail/proton-bridge.git
cd proton-bridge
git checkout $VERSION
# Enable debug log
sed -i "s/build desktop/-debug build desktop/" Makefile
# Build
make build-nogui