diff options
| author | Albin <albin@mullvad.net> | 2025-07-17 14:02:33 +0200 |
|---|---|---|
| committer | Albin <albin@mullvad.net> | 2025-07-17 15:39:26 +0200 |
| commit | 5fa630719e610608ef579d0720ecad9470325201 (patch) | |
| tree | ef68b5f8f9ae407e34dbbdd71120561c8bec9c1f /android | |
| parent | a491b97688349601460918d7e444a532c1ae6a34 (diff) | |
| download | mullvadvpn-5fa630719e610608ef579d0720ecad9470325201.tar.xz mullvadvpn-5fa630719e610608ef579d0720ecad9470325201.zip | |
Add devshell help commands
Diffstat (limited to 'android')
| -rw-r--r-- | android/flake.nix | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/android/flake.nix b/android/flake.nix index 8cf0d4a26a..b48befe941 100644 --- a/android/flake.nix +++ b/android/flake.nix @@ -111,6 +111,20 @@ env = import ./nix/env-vars.nix { inherit pkgs android-sdk buildToolsVersion ndkVersion minSdkVersion; }; + # Unfortunately rich menus with package, description and category + # is only supported using the TOML format and not when using mkShell. + # The two cannot be combined and TOML format by itself doesn't support + # the way we dynamically configure the devshell. + commands = [ + { + name = "tasks"; + command = "./gradlew tasks"; + } + { + name = "build"; + command = "./gradlew assembleOssProdDebug"; + } + ]; }; }); } |
