From 0e449bda28e9b7e267d569806099d1d0c1909d46 Mon Sep 17 00:00:00 2001 From: "Paul P.H. Wilson" Date: Mon, 1 Nov 2021 21:05:22 -0500 Subject: [PATCH] remove housekeeping script again from rebase --- CI/circleci/housekeeping.sh | 43 ------------------------------------- 1 file changed, 43 deletions(-) delete mode 100755 CI/circleci/housekeeping.sh diff --git a/CI/circleci/housekeeping.sh b/CI/circleci/housekeeping.sh deleted file mode 100755 index 06b337d335..0000000000 --- a/CI/circleci/housekeeping.sh +++ /dev/null @@ -1,43 +0,0 @@ -#!/bin/bash - -set -ex - -source ${docker_env} - -cd ${dagmc_build_dir} - -# Check for news file if this is a PR into svalinn/DAGMC -if [ "${REPO_SLUG}" == "svalinn/DAGMC" ] && \ - [ "${PULL_REQUEST}" != "false" ]; then - news_file=$(printf 'news/PR-%04u.rst' ${PULL_REQUEST}) - if [ -f "${news_file}" ]; then - echo "News file ${news_file} found!" - else - echo "ERROR: News file ${news_file} not found. Please create a news file." - exit 1 - fi -fi - -# Run astyle check -astyle --options=astyle_google.ini \ - --exclude=src/gtest \ - --exclude=src/mcnp/mcnp5/Source \ - --exclude=src/mcnp/mcnp6/Source \ - --ignore-exclude-errors \ - --suffix=none \ - --recursive \ - --verbose \ - --formatted \ - "*.cc" "*.cpp" "*.h" "*.hh" "*.hpp" -astyle_diffs=`git status --porcelain` -if [ -z "${astyle_diffs}" ]; then - echo "Style guide checker passed!" -else - echo "ERROR: Style guide checker failed. Please run astyle." - # echo "astyle_diffs: ${astyle_diffs}" - git diff - exit 1 -fi - -# Build documentation -make html