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

Homebrew Support #21

Closed
wants to merge 6 commits into from
Closed

Homebrew Support #21

wants to merge 6 commits into from

Conversation

Patrick-Kladek
Copy link
Owner

@Patrick-Kladek Patrick-Kladek commented Apr 23, 2019

Fixes: #15

Changes

  • Add Version flag -v and -version to CLI target

Open Issues

  • when running brew install screenshotframercli the version is missing (Copy screenshotframercli.rb to /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula). Somehow git log does has some problems. git describe --abbrev=4 --dirty --always --tags does not work correctly. git describe returns the following error message: fatal: No names found, cannot describe anything.

@Patrick-Kladek Patrick-Kladek self-assigned this Apr 23, 2019
@Patrick-Kladek Patrick-Kladek changed the base branch from master to enhancement/shortcuts April 23, 2019 10:28
Remove autorevision.cache file as autorevision is run every
time a build is started. Autorevision is included in repo so
a build should not fail on another machine.

For CLI Target a swift file is generated which is included in
the Xcode project (file browser)

For the GUI Target a header file is generated which is *NOT*
included in Xcode (file browser) but is inside Supporing Files.
info.plist preprocessor will replace the values during compilation.
@Patrick-Kladek
Copy link
Owner Author

@nikolaykasyanov At first sorry for the long delay.
I got home-brew to build & install the project. Now I try to implement versioning. My idea was to use autorevision to sync the version from git tags. The setup works fine as long as I build via Xcode directly.

When I build with home-brew it does not work correctly. The repo checkout by home-brew seems to be incomplete as git describe returns fatal error. Even git log only returns the last commit message, not as usual a list you can step through.

Do you have an idea what could cause this issue? Or do you have another idea to sync the version?

@aquarius aquarius changed the base branch from enhancement/shortcuts to master October 17, 2019 08:34
@aquarius aquarius changed the base branch from master to main August 5, 2020 14:24
@Patrick-Kladek
Copy link
Owner Author

Closing this now as there is no progress anymore.

@Patrick-Kladek Patrick-Kladek deleted the enhancement/homebrew branch September 21, 2021 13:35
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.

Homebrew support
1 participant