File tree Expand file tree Collapse file tree 2 files changed +27
-0
lines changed
Expand file tree Collapse file tree 2 files changed +27
-0
lines changed Original file line number Diff line number Diff line change 1+ package: CodingGuidelines
2+ version: " %(tag_basename)s"
3+ tag: master
4+ source: https://github.com/AliceO2Group/CodingGuidelines
5+ ---
6+ #! /bin/sh
7+
8+ # Simply install the .clang-format for the other packages to find it
9+ rsync -a --ignore-existing $SOURCEDIR /.clang-format $INSTALLROOT
10+
11+ # ModuleFile
12+ mkdir -p etc/modulefiles
13+ cat > etc/modulefiles/$PKGNAME << EoF
14+ #%Module1.0
15+ proc ModulesHelp { } {
16+ global version
17+ puts stderr "ALICE Modulefile for $PKGNAME $PKGVERSION -@@PKGREVISION@$PKGHASH @@"
18+ }
19+ set version $PKGVERSION -@@PKGREVISION@$PKGHASH @@
20+ module-whatis "ALICE Modulefile for $PKGNAME $PKGVERSION -@@PKGREVISION@$PKGHASH @@"
21+ # Our environment
22+ EoF
23+ mkdir -p $INSTALLROOT /etc/modulefiles && rsync -a --delete etc/modulefiles/ $INSTALLROOT /etc/modulefiles
Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ requires:
1313 - arrow
1414build_requires:
1515 - CMake
16+ - CodingGuidelines
1617source: https://github.com/AliceO2Group/QualityControl
1718incremental_recipe: |
1819 make ${JOBS: +-j$JOBS } install
@@ -24,6 +25,9 @@ case $ARCHITECTURE in
2425 osx* ) [[ ! $BOOST_ROOT ]] && BOOST_ROOT=$( brew --prefix boost) ;;
2526esac
2627
28+ # Copy the clang-format from CodingGuidelines
29+ rsync -a --ignore-existing $CODINGGUIDELINES_ROOT /.clang-format $SOURCEDIR
30+
2731cmake $SOURCEDIR \
2832 -DCMAKE_INSTALL_PREFIX=$INSTALLROOT \
2933 -DBOOST_ROOT=$BOOST_ROOT \
You can’t perform that action at this time.
0 commit comments