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: Add bundle.sh for deployment #193

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

nyue
Copy link

@nyue nyue commented Jun 4, 2024

The bundle.sh script is useful and should be included for deployment for people to use.

Comment on lines +52 to +55
install(FILES bundle.sh
DESTINATION ${CMAKE_INSTALL_BINDIR}
)

Copy link
Owner

Choose a reason for hiding this comment

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

I'm not all that familiar with CMake. Do you know if we can rename this file as part of the installation process? My concern is that bundle.sh is very generic, and may conflict with other packages or scripts on the user's system. Whereas valijson-bundle.sh would be safer.

Copy link
Author

Choose a reason for hiding this comment

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

@tristanpenman There is a RENAME option but I feel there is an element of obfuscation, why not name the original file as valijson-bundle.sh in the first place? Is there an operational/build requirement for it to be named bundle.sh ?

Copy link
Owner

Choose a reason for hiding this comment

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

That sounds like a good solution to me. Are you happy to push a rename change for this PR?

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