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

Add documentation details for environment variables usage #7

Open
M0Rf30 opened this issue Jan 23, 2022 · 0 comments
Open

Add documentation details for environment variables usage #7

M0Rf30 opened this issue Jan 23, 2022 · 0 comments
Labels
documentation Improvements or additions to documentation

Comments

@M0Rf30
Copy link
Contributor

M0Rf30 commented Jan 23, 2022

I have a Java project and I want to integrate pacur to it's maven build. Problem is, I can't build packages using some build specific parameters such as the project version without manually editing or using sed on the PKGBUILD file.

With this PR, now I can do something like:

pkgver=${VERSION}

and supply the VERSION environment variable to yap in order to compile a package with the given version, like:

docker run --rm -t -v $(pwd):/yap -e VERSION=1.0.1 yap/ubuntu-bionic

or

VERSION=1.0.2 yap build ubuntu example

Originally posted by @apontini in #3 (comment)

@M0Rf30 M0Rf30 added the documentation Improvements or additions to documentation label Jan 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant