X-Git-Url: https://defaria.com/gitweb/?a=blobdiff_plain;f=rc%2Fclient_scripts%2FcPanel;h=6c9ed6863517de5b985d5a53e208b99d7adb6718;hb=1f116f34d85627b9da474af835becc7999d46006;hp=70db56713daae30332fecfa031761fd926961e9e;hpb=da4fa1f3928d1f5fec480761337a6798aed2a7f3;p=clearscm.git diff --git a/rc/client_scripts/cPanel b/rc/client_scripts/cPanel index 70db567..6c9ed68 100644 --- a/rc/client_scripts/cPanel +++ b/rc/client_scripts/cPanel @@ -23,6 +23,8 @@ append_to_path /opt/cpanel/composer/bin append_to_path /opt/cplint/bin append_to_path /root/bin +# Useful aliases +alias makesb4='pushd $ulc; make -j4 sandbox; popd' # Find code! if [ -d ~/.vscode-server ]; then codePath=$(dirname $(find ~/.vscode-server/bin -name code)) @@ -41,16 +43,25 @@ export ulc=/usr/local/cpanel export ulp=/usr/local/cp-monitoring-cpanel-plugin export ulw=/usr/local/cp-monitoring-whm-plugin export ulb=/usr/local/cp-banners-plugin -export CPANEL_TEAM='scrum' +export CPANEL_TEAM='release' + +# EA Tools +export EATOOLS_BUILD_DIR=~/git/ea-tools/SOURCES/ +export EATOOLS_BIN_DIR=~/git/ea-tools/SOURCES/ #alias ulc="cd /usr/local/cpanel" alias perl="$ulc/3rdparty/bin/perl" +alias stencilwatch='npx stencil test --spec --watchAll' +alias stencilwatche2e='npx stencil test --spec --e2e --watchAll' # Unset PERLTIDY and PERLCRITIC as those variable override looking for # ~/.perltidyrc and ~/.perlcriticrc. unset PERLTIDY unset PERLCRITIC +# This is a closer call to how cplint is called by merge_request +alias cplintm="cplint --branched-from=upstream/$(cat /usr/local/cpanel/.branched_from)" + # This is the completer function for ulc. This completes any path that comes # after the ulc as a path completion relative to $ulc function _ulc {