mirror of
https://github.com/red0124/ssp.git
synced 2025-01-23 13:05:20 +01:00
69875c238e
* Resolve clang-tidy warnings, update single_header_generator.py * Update single header test, resolve additional clang-tidy warnings
17 lines
339 B
Bash
Executable File
17 lines
339 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -x
|
|
set -e
|
|
|
|
TMP_HDR=test_single_header.hpp
|
|
TMP_SRC=test_single_header.cpp
|
|
TMP_BIN=test_single_header
|
|
|
|
python3 script/single_header_generator.py > ${TMP_HDR}
|
|
cat ${TMP_HDR} test/test_single_header_main.txt > ${TMP_SRC}
|
|
|
|
g++ -std=c++17 ${TMP_SRC} -o ${TMP_BIN} -Wall -Wextra
|
|
./${TMP_BIN}
|
|
|
|
rm ${TMP_HDR} ${TMP_SRC} ${TMP_BIN}
|