Skip to content
Snippets Groups Projects
Commit b6710eaf authored by Atkins, Charles Vernon's avatar Atkins, Charles Vernon Committed by GitHub
Browse files

Merge pull request #2 from chuckatkins/fixup-boilerplate

Fixup boilerplate
parents 2611dd1f e478aaca
No related branches found
No related tags found
No related merge requests found
# ADIOS2
Next generation of ADIOS developed in the Exascale Computing Program
# Adaptable Input / Output System (ADIOS) v2.0
This is v2.0 of the ADIOS I/O system, developed as part of the
U.S. Department of Energy Exascale Computing Program.
## License
ADIOS >= 2.0 is licensed under the Apache License v2.0. See the accompanying
Copyright.txt for more details.
## Directory layout
* cmake - Project specific CMake modules
* examples - ADIOS Examples
* include - Public header files
* scripts - Project maintenance and development scripts
* source - Main ADIOS source
* foo - Source and private header files for the "foo" component
* testing - Tests
## Developers
###Getting started
Upon cloning this repo, you will need to run the scripts/developer/setup.sh
script. This will perform the following:
* Validate that clang-format is available
* Setup formatting commit hooks
# Adaptable Input / Output System (ADIOS) v2.0
This is v2.0 of the ADIOS I/O system, developed as part of the DoE. Exascale
Computing Program.
## License
ADIOS >= 2.0 is licensed under the Apache License v2.0. See the accompanying
Copyright.txt for more details.
## Directory layout
/cmake : Project specific CMake modules
/examples : ADIOS Examples
/include : Public header files
/scripts : Project maintenance and development scripts
source : Main ADIOS source
-- /foo : Source and private header files for the "foo" component
testing : Tests
## Developers
###Getting started
Uppon cloning this repo, you will need to run the scripts/developer/setup.sh
script. This will perform the following:
* Validate that clang-format is available
* Setup formatting commit hooks
#!/usr/bin/env bash
echo "Setting up git aliases..."
if ! which clang-format 2>1 1>/dev/null
then
echo "ADIOS development requires clang-format to be available in your path."
exit 1
fi
echo "Adding 'git clang-format' alias"
if ! git config alias.clang-format "!bash scripts/git/git-clang-format"
if ! git config alias.clang-format "!scripts/developer/git/git-clang-format"
then
echo "Error adding clang-format alias"
exit 2
......
#!/usr/bin/env bash
test_cmd {
function test_cmd {
if ! $1 ;
then
echo "Error: $2";
......@@ -8,11 +8,11 @@ test_cmd {
fi
}
cd "${BASH_SOURCE%/*}"
cd "${BASH_SOURCE%/*}/../.."
test_cmd scripts/git/setup-alias \
test_cmd scripts/developer/git/setup-aliases \
"Failed to setup git aliases" 2
test_cmd scripts/git/setup-hooks \
test_cmd scripts/developer/git/setup-hooks \
"Failed to setup git hooks" 1
git config hooks.clang-format true
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment