aboutsummaryrefslogblamecommitdiffstatshomepage
path: root/.bashrc_netwrix
blob: 6372a89dcf7dd6f5af73d129c6d0b9f4d94e5594 (plain) (tree)
1
2
3
4
5
6
7
8
                   
 
                                     
            
    
                             
  
 





                             

               
                  
 
                                                                                               
 

                                        
 




                                                                                  
 

                   
                                                  
 
#!/usr/bin/env bash

if [ -n "${BASHRC_NETWRIX+x}" ]; then
    return 0
else
    readonly BASHRC_NETWRIX=1
fi

source .bashrc_git  || return
source .bashrc_text || return

export nwx_host=172.28.10.2
export nwx_dev2=172.28.19.60
export nwx_dev3=172.28.19.61

lint_webapi() (
    set -o errexit

    local root_dir='/cygdrive/c/Netwrix Auditor/CurrentVersion-AuditCore-Dev/AuditCore/Sources'

    cd "$root_dir/Configuration"
    doslint WebAPI*.acinc WebAPI*.acconf

    cd "$root_dir/Subsystems/PublicAPI"
    local path
    find . -type f -\( -iname '*.cpp' -o -iname '*.h' -\) | while read -r path; do
        doslint "$path"
    done
)

backup_repo_nwx() {
    backup_repo '//spbfs02/P/Personal/Egor Tensin'
}