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

feat(qadb): prepend PATH for dev version #52

Merged
merged 1 commit into from
Jan 18, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
feat(qadb): prepend PATH for dev version
The QADB will soon have a script `qadb-info`, to help make accessing the
QADB simpler. I only want `bin/` to be in `PATH` for:
- `dev`
- versions _after_ 3.0.0

See JeffersonLab/clas12-qadb#68
c-dilks committed Jan 16, 2025
commit 513fe5165cd12f7d15235b28bbc40598eebff730
1 change: 1 addition & 0 deletions modulefiles/qadb/.generic
Original file line number Diff line number Diff line change
@@ -7,5 +7,6 @@ set version [file tail [module-info version [module-info name]]]
source [file dirname $ModulesCurrentModulefile]/../util/functions.tcl

setenv QADB [home]/noarch/clas12-qadb/$version
prepend-path PATH $env(QADB)/bin
prepend-path JYPATH $env(QADB)/src

11 changes: 11 additions & 0 deletions modulefiles/qadb/.generic_no_bin
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#%Module1.0

module-whatis https://github.com/jeffersonlab/clas12-qadb

set version [file tail [module-info version [module-info name]]]

source [file dirname $ModulesCurrentModulefile]/../util/functions.tcl

setenv QADB [home]/noarch/clas12-qadb/$version
prepend-path JYPATH $env(QADB)/src

2 changes: 1 addition & 1 deletion modulefiles/qadb/1.3.0
2 changes: 1 addition & 1 deletion modulefiles/qadb/2.0.0
2 changes: 1 addition & 1 deletion modulefiles/qadb/3.0.0