forked from mirrors/protonmail-bridge-docker
Add build from source
This commit is contained in:
16
build/build.sh
Normal file
16
build/build.sh
Normal 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
|
||||
Reference in New Issue
Block a user