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 .prepare script for CI services #293

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

Conversation

jeroen
Copy link

@jeroen jeroen commented Mar 23, 2022

This would allow us to build the package on https://s-u.r-universe.dev

The problem is that rJava is one of the few R packages that needs pre-work before we can run R CMD build. We introduce a .prepare script which is run by the build server directly after cloning the repo. The script gets the directory into the conventional state where it contains the R source package, so then all the standard subsequent CI/CD tooling works.

The current script is a minimal solution, perhaps there is a more elegant way by factoring out stuff from your mkdist.

Thanks!

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.

1 participant