Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refined exporting conditions and migrated to Go modules #47

Merged

Conversation

istvankovacs-bitrise
Copy link
Contributor

@istvankovacs-bitrise istvankovacs-bitrise commented May 11, 2021

https://bitrise.atlassian.net/browse/STEP-188

Checklist

Context

Cordova Archive Step does not generate a .app when the target is set to device (only when it is set to emulator), so there is no need for the no app found warning in this case.

Changes

  • An additional target check introduced to the export conditional to avoid looking for incompatible artifacts for a given target.
  • The no app found warning replaced with an error to avoid causing confusion.

@istvankovacs-bitrise istvankovacs-bitrise changed the title No app found warning replaced with error No app found warning replaced with an error May 11, 2021
@istvankovacs-bitrise istvankovacs-bitrise changed the title No app found warning replaced with an error No app found warning replaced with an error and migrated to Go modules May 12, 2021
@istvankovacs-bitrise istvankovacs-bitrise changed the title No app found warning replaced with an error and migrated to Go modules Refined exporting conditions and migrated to Go modules May 12, 2021
vendor/modules.txt Outdated Show resolved Hide resolved
@@ -55,15 +55,15 @@ func installDependency(packageManager jsdependency.Tool, name string, version st
}
for i, cmd := range cmdSlice {
fmt.Println()
log.Donef("$ %s", cmd.PrintableCommandArgs())
log.Donef("$ %s", cmd.Slice.PrintableCommandArgs())
Copy link
Contributor Author

Choose a reason for hiding this comment

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

In line#52 jsdependency.InstallGlobalDependencyCommand now returns a custom object, containing the model instance, stored in the Slice attribute.

main.go Outdated Show resolved Hide resolved
@istvankovacs-bitrise istvankovacs-bitrise merged commit e6c828d into master May 12, 2021
@istvankovacs-bitrise istvankovacs-bitrise deleted the STEP-188-replace-no-app-found-warning-with-error branch May 12, 2021 12:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants