mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 20:12:57 +01:00
13 lines
519 B
Bash
13 lines
519 B
Bash
|
#!/usr/bin/env bash
|
||
|
#
|
||
|
# Copyright (c) 2019 The Bitcoin Core developers
|
||
|
# Distributed under the MIT software license, see the accompanying
|
||
|
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
||
|
|
||
|
export LC_ALL=C
|
||
|
|
||
|
CPPCHECK_VERSION=1.86
|
||
|
curl -s https://codeload.github.com/danmar/cppcheck/tar.gz/${CPPCHECK_VERSION} | tar -zxf - --directory /tmp/
|
||
|
(cd /tmp/cppcheck-${CPPCHECK_VERSION}/ && make CFGDIR=/tmp/cppcheck-${CPPCHECK_VERSION}/cfg/ > /dev/null)
|
||
|
export PATH="$PATH:/tmp/cppcheck-${CPPCHECK_VERSION}/"
|