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

create-package with institution code and alternate view-code #137

Open
danizen opened this issue Mar 14, 2022 · 0 comments
Open

create-package with institution code and alternate view-code #137

danizen opened this issue Mar 14, 2022 · 0 comments

Comments

@danizen
Copy link

danizen commented Mar 14, 2022

The command "gulp create-package" supports the --view flag, but not the --ve flag, so that it builds a customization package that does not contain the institution code (or maybe I call it wrong). However, when I run with gulp run --view DAN1 --ve, the institution code is supported.

Please upgrade the "gulp create-package" command to support taking both a source view code and target view code and packaging it with an alternate top directory.

Best practice would be to keep in Git only "official view codes", but to build for testing and demo a customization package named for a developer or feature. Our institution code is 01NLM_INST, so an example would be building from primo-explore/custom/01NLM_INST for a target customization package with a top-level directory 01NLM_INST-DAN1.

I have an Apache ant build file that does this, but I am not familiar enough with gulp tooling to want to develop a gulp/node way of doing the same.

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

No branches or pull requests

1 participant