Skip to content
This repository has been archived by the owner on Jan 18, 2024. It is now read-only.

[xdl] Assemble/bundle only the :app project #1937

Merged
merged 1 commit into from
Apr 21, 2020

Conversation

sjchmiela
Copy link
Contributor

@sjchmiela sjchmiela commented Apr 20, 2020

Why

I have noticed that not only the app project is being built on Turtle, but all the projects.

How

I've scoped the Gradle command to only build/assemble the :app project. It should be safe to do for all SDKs, since on all SDKs the app project was called app.

Test plan

Published an alpha version of XDL to NPM, upgraded Turtle to it, deployed to staging and ran the build. It was over a minute faster than without this change (new vs old).

@codecov-io
Copy link

Codecov Report

Merging #1937 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #1937   +/-   ##
=======================================
  Coverage   62.73%   62.73%           
=======================================
  Files          83       83           
  Lines        2517     2517           
  Branches      690      690           
=======================================
  Hits         1579     1579           
  Misses        915      915           
  Partials       23       23           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 771a539...ab6c045. Read the comment docs.

@sjchmiela sjchmiela marked this pull request as ready for review April 21, 2020 07:54
@sjchmiela sjchmiela requested a review from dsokal April 21, 2020 08:36
@sjchmiela sjchmiela merged commit 13c0944 into master Apr 21, 2020
@sjchmiela sjchmiela deleted the @sjchmiela/build-only-app branch April 21, 2020 08:39
sjchmiela added a commit to expo/turtle that referenced this pull request Apr 21, 2020
…#214)

### Motivation and Context

I have noticed that not only the `app` project is being built on Turtle, but all the projects. (cross-posting from expo/expo-cli#1937)

### Description

I've scoped the Gradle command to only build/assemble the `:app` project. It should be safe to do for all SDKs, since on all SDKs the app project was called `app`.

Published an alpha version of XDL to NPM, upgraded Turtle to it, deployed to staging and ran the build. It was over a minute faster than without this change ([new](https://staging.expo.io/dashboard/sjchmiela/builds/5c386cef-e808-49d3-91d8-9ce42af77c36) vs [old](https://staging.expo.io/dashboard/sjchmiela/builds/3d36340e-6ae1-4476-91cb-07d81f1edd1e)). (cross-posting from expo/expo-cli#1937)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants