Skip to content

Commit ec581e2

Browse files
committed
Rename build-apk.sh to build.sh
1 parent f1650e1 commit ec581e2

6 files changed

+7
-7
lines changed

android/BuildInstructions.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -162,15 +162,15 @@ Run the following command to download wireguard-go-rs submodule: `git submodule
162162
### Debug build
163163
Run the following command to build a debug build:
164164
```bash
165-
../android/build-apk.sh --dev-build
165+
../android/build.sh --dev-build
166166
```
167167

168168
### Release build
169169
1. Configure a signing key by following [these instructions](#configure-signing-key).
170170
2. Move, copy or symlink the directory from step 1 to [./credentials/](./credentials/) (`<repository>/android/credentials/`).
171171
3. Run the following command to build:
172172
```bash
173-
../android/build-apk.sh --app-bundle
173+
../android/build.sh --app-bundle
174174
```
175175

176176
## Configure signing key
File renamed without changes.

android/docker/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
# -v $GRADLE_CACHE_VOLUME_NAME:/root/.gradle:Z \
99
# -v $ANDROID_CREDENTIALS_DIR:/build/android/credentials:Z \
1010
# -v /path/to/repository_root:/build:Z \
11-
# mullvadvpn-app-build-android ./build-apk.sh --dev-build
11+
# mullvadvpn-app-build-android ./android/build.sh --dev-build
1212
#
1313
# See the base image Dockerfile in the repository root (../../Dockerfile)
1414
# for more information.

android/docs/BuildInstructions.macos.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ git submodule update --init --recursive --depth=1 wireguard-go-rs
7777
Run the build script in the root of the project to assemble all the native libraries and the app:
7878

7979
```bash
80-
./android/build-apk.sh --dev-build
80+
./android/build.sh --dev-build
8181
```
8282

8383
Once the build is complete you should receive a message looking similar to this:

android/docs/DebugInstructions.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
## Debugging the native libraries in Android Studio with LLDB
22

3-
1. Make sure the native libraries have been built with debug symbols. If using the `build-apk.sh`
4-
script, run `SKIP_STRIPPING=yes ../build-apk.sh --dev-build`.
3+
1. Make sure the native libraries have been built with debug symbols. If using the `android/build.sh`
4+
script, run `SKIP_STRIPPING=yes ./android/build.sh --dev-build`.
55
2. In Android Studio, go to `Run -> Edit configurations...`
66
3. Make sure the `app` configuration is selected.
77
4. In the `Debugger` tab, select `Dual (Java + Native)`

building/containerized-build.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ case $platform in
1818
shift 1
1919
;;
2020
android)
21-
build_command=("./android/build-apk.sh")
21+
build_command=("./android/build.sh")
2222
shift 1
2323
;;
2424
*)

0 commit comments

Comments
 (0)