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

How to get the package-name in xmake.lua like $(version) dose. #5065

Closed
19317362 opened this issue May 6, 2024 · 1 comment
Closed

How to get the package-name in xmake.lua like $(version) dose. #5065

19317362 opened this issue May 6, 2024 · 1 comment

Comments

@19317362
Copy link

19317362 commented May 6, 2024

Is your feature request related to a problem? Please describe.

package("my_test_pkg")
      set_urls("http://ip.of.server/artifactory/xrepo/$(pkg-name)/$(pkg-name)-$(version).zip")

Describe the solution you'd like

If we can get the name of package like $(version), the xmake.lua will have less modification during Copy-Paste-Modify while make packages.

Describe alternatives you've considered

No response

Additional context

No response

@waruqi
Copy link
Member

waruqi commented May 6, 2024

It's not necessary, it's a fixed string and the version is variable.

@19317362 19317362 closed this as completed May 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants