diff options
| author | Linus Färnstrand <linus@mullvad.net> | 2022-01-03 11:35:41 +0100 |
|---|---|---|
| committer | Linus Färnstrand <linus@mullvad.net> | 2022-01-03 11:35:41 +0100 |
| commit | f4cd4fc51955874f7e7ac13636b63ecfa8f9eaf3 (patch) | |
| tree | c0c88034e426f4fc021c6619ae4402af30f29bb7 /README.md | |
| parent | 3cfafa55cde7769cb05846103362ea36289d327e (diff) | |
| parent | 0b1be80393d9ef62c4e88b977462fbb242e5dd94 (diff) | |
| download | mullvadvpn-f4cd4fc51955874f7e7ac13636b63ecfa8f9eaf3.tar.xz mullvadvpn-f4cd4fc51955874f7e7ac13636b63ecfa8f9eaf3.zip | |
Merge branch 'build.sh-support-rust-debug-builds'
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -300,9 +300,10 @@ storePassword = keystore-password ### Desktop The simplest way to build the entire app and generate an installer is to just run the build script. -`--dev-build` is added to skip some release checks and signing of the binaries: +`--optimize` can be added to enable compiler optimizations. This will take longer to build but will +produce a smaller installer and installed binaries: ```bash -./build.sh --dev-build +./build.sh [--optimize] ``` This should produce an installer exe, pkg or rpm+deb file in the `dist/` directory. @@ -382,7 +383,7 @@ echo "org.gradle.jvmargs=-Xmx4608M" >> ~/.gradle/gradle.properties 1. On Windows, make sure to start bash first (e.g., Git BASH). Then build the C++ libraries: ```bash - ./build-windows-modules.sh --dev-build + ./build-windows-modules.sh ``` 1. Build the system daemon plus the other Rust tools and programs: @@ -628,8 +629,7 @@ If you're using GNOME, try installing one of these GNOME Shell extensions: ### Building, testing and misc - **build-windows-modules.sh** - Compiles the C++ libraries needed on Windows -- **build.sh** - Sanity checks the working directory state and then builds release artifacts for - the app +- **build.sh** - Sanity checks the working directory state and then builds installers for the app ### Mullvad Daemon |
