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

Add support for AtlasBuildTools integration when added via UPM #67

Merged
merged 1 commit into from
Jan 24, 2023

Conversation

Larusso
Copy link
Member

@Larusso Larusso commented Jan 24, 2023

Description

This patch adds support to add the test build setup when the package AtlasBuildTools is added via upm as package com.wooga.atlas-build-tools.

There is a slight issue with this implementation as it evaluates the projectManifestFile property from the unity extension. The whole generation should be lazy here but that would make the setup more complicated and the test setup would need to be completely rewritten.

I opted for this solution since the plugin is opinionated anyways, and we usually can't override the location for the manifest file anyways.

Changes

  • ADD support for AtlasBuildTools integraton when added via UPM

Description
===========

This patch adds support to add the test build setup when the package
`AtlasBuildTools` is added via upm as package `com.wooga.atlas-build-tools`.

There is a slight issue with this implementation as it evaluates the
`projectManifestFile` property from the unity extension. The whole
generation should be lazy here but that would make the setup more
complicated and the test setup would need to be completely rewritten.

I opted for this solution since the plugin is opinionated anyways, and
we usually can't override the location for the manifest file anyways.

Changes
=======

* ![ADD] support for AtlasBuildTools integraton when added via UPM
@Larusso Larusso requested a review from Azurelol January 24, 2023 09:24
Copy link
Contributor

@Azurelol Azurelol left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Though I think you could refactor both tests into one if you were so inclined.

@Larusso
Copy link
Member Author

Larusso commented Jan 24, 2023

@Azurelol I think the setup is ok enough. I would actually change the whole implementation so these tests are no longer possible as Unit tests. I will merge as is.

@Larusso Larusso merged commit 0c0567b into master Jan 24, 2023
@Larusso Larusso deleted the improve/atlas-test-support-for-upm branch January 24, 2023 15:08
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants