mirror of
https://github.com/red0124/ssp.git
synced 2025-01-23 21:15:19 +01:00
15 lines
252 B
Bash
Executable File
15 lines
252 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -x
|
|
set -e
|
|
|
|
python3 script/single_header_generator.py > ssp.cpp
|
|
|
|
echo 'int main(){ ss::parser p{""}; p.get_next<int, float>(); return 0; }' \
|
|
>> ssp.cpp
|
|
|
|
g++ -std=c++17 ssp.cpp -o ssp.bin -Wall -Wextra
|
|
./ssp.bin
|
|
|
|
rm ssp.cpp ssp.bin
|