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

build: Include OS specific completions in tarball #1287

Merged
merged 2 commits into from
Dec 6, 2024

Conversation

yedayak
Copy link
Collaborator

@yedayak yedayak commented Dec 3, 2024

This should fix #1282, although still doesn't deal with the issue of including tests for them or not.

I will love if people who actually know Makefile/autotools will look at this :)
I'm not really sure about the variables naming, open for suggestions.

Copy link
Owner

@scop scop left a comment

Choose a reason for hiding this comment

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

IDK if I qualify as someone actually knowing these tools that much, but makes sense to me, assuming it works (did not test).

completions/Makefile.am Outdated Show resolved Hide resolved
@yedayak
Copy link
Collaborator Author

yedayak commented Dec 4, 2024

IDK if I qualify as someone actually knowing these tools that much, but makes sense to me, assuming it works (did not test).

Tests I did:

  • creating tarball and seeing it has all the completions
  • Installing from that tarball and seeing it only installs linux completions (on a linux host (WSL))
  • Modifying the configure.ac to make linux go to the bsd branch, and seeing it installs pkg_delete

I also modified the configure.ac in the PR, just to make it more consistent with how the variables are used.

completions/Makefile.am Outdated Show resolved Hide resolved
This should fix scop#1282,
although still doesn't deal with the issue of including tests for them
or not.
@yedayak yedayak merged commit 8a8880d into scop:main Dec 6, 2024
7 checks passed
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.

pkg_delete file missing from release 2.15.0 release tarball
3 participants