Skip to content

[build] Add fastlane for Android project #872

@wax911

Description

@wax911

AniTrend Issue Guidelines

Before opening a new issue, please take a moment to review our community guidelines to make the contribution process easy and effective for everyone involved.

You may find an answer in closed issues:
https://github.com/AniTrend/anitrend-v2/issues?q=is%3Aissue+is%3Aclosed

Feature Information

We would like to add fastlane to our Android project to streamline and automate the build and release process. Fastlane is already set up in the AniTrend/anitrend-app repository, and it includes actions for managing various tasks. We aim to replicate and possibly enhance this setup for the AniTrend/anitrend-v2 repository.

Solution Information

  1. Setup fastlane:

    • Create a fastlane directory in the project root if it does not already exist.
    • Add Fastfile and Appfile to the fastlane directory. These files should define the lanes and configuration for the project.
    • Ensure the necessary fastlane plugins and gems are included in the Gemfile.
  2. Define lanes:

    • Replicate the lanes defined in the AniTrend/anitrend-app repository's Fastfile. These might include lanes for building, testing, and releasing the app.
    • Customize the lanes as needed for the AniTrend/anitrend-v2 repository.
  3. Integrate with GitHub Actions:

    • Set up GitHub Actions workflows to trigger fastlane lanes. This should include workflows for continuous integration (CI), continuous deployment (CD), and any other automation tasks.
    • Reference the existing setups and actions from the AniTrend/anitrend-app repository as a guide.
  4. Documentation:

    • Document the fastlane setup and usage in the repository's README or a dedicated fastlane documentation file.
    • Include instructions on how to run fastlane commands locally and how to troubleshoot common issues.

Additional Context

Refer to the existing fastlane setup in the AniTrend/anitrend-app repository for guidance and best practices. The current setup includes actions for building the app, running tests, and managing releases, which can be adapted for AniTrend/anitrend-v2.

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    Status

    No status

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions