Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
privatestoragemobile
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
PrivateStorage
privatestoragemobile
Commits
39c431fe
Commit
39c431fe
authored
1 year ago
by
Jean-Paul Calderone
Browse files
Options
Downloads
Patches
Plain Diff
try `isRelease` too, no effect
parent
8684d506
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!76
Support release APKs and bundles
Pipeline
#4964
failed
1 year ago
Stage: lint
Stage: build
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
obelisk/default.nix
+10
-14
10 additions, 14 deletions
obelisk/default.nix
with
10 additions
and
14 deletions
obelisk/default.nix
+
10
−
14
View file @
39c431fe
...
...
@@ -32,8 +32,11 @@ let
android
.
displayName
=
"Private Storage Mobile"
;
android
.
resources
=
./frontend/android/res
;
android
.
iconPath
=
"@mipmap/ic_launcher"
;
# This definitely works but removes our ability to build apks
# android.gradleTask = "bundleRelease";
# This should work but even if it does, putting the config here removes
# our ability to build apks.
android
.
gradleTask
=
"bundleRelease"
;
android
.
isRelease
=
true
;
# We use magic-wormhole which depends on saltine which depends on libsodium.
# We have to explicitly mention libsodium here to get it included in the
...
...
@@ -57,18 +60,10 @@ let
};
});
# # Can be written like this...
# ghc = self:
# with optics fn;
# path
# ["haskell" "packages" "ghc883"]
# (super: super.override {
# overrides = hself: hsuper:
# { patat = self.haskell.lib.unmarkBroken hsuper.patat;
# };
# });
inherit
(
import
"
${
(
builtins
.
fetchTarball
https://github.com/masaeedu/nix-optics/archive/028b4e0f721d902aa97bc3535cb3d265bfc53abb.tar.gz
)
}
/utils.nix"
)
optics
fn
;
inherit
(
import
"
${
(
builtins
.
fetchTarball
https://github.com/masaeedu/nix-optics/archive/028b4e0f721d902aa97bc3535cb3d265bfc53abb.tar.gz
)
}
/utils.nix"
)
optics
fn
;
makeReleaseBundle
=
let
...
...
@@ -81,6 +76,7 @@ let
# "assembleDebug" or "assembleRelease" to build a debug or release apk
# (respectively) or "bundleRelease" to build a release bundle (aab).
gradleTask
=
"bundleRelease"
;
isRelease
=
true
;
});
# Change the final installation instructions to work with the aab we
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment