1
0
mirror of https://github.com/sasjs/core.git synced 2025-12-10 22:14:35 +00:00
Files
core/make_singlefile.sh
2020-07-09 09:38:29 +02:00

30 lines
633 B
Bash
Executable File

#!/usr/bin/env bash
# Concatenate all macros into a single file
OUTFILE='./macrocore.sas'
cat > $OUTFILE <<'EOL'
/**
@file
@brief Auto-generated file
@details
This file contains all the macros in a single file - which means it can be
'included' in SAS with just 2 lines of code:
filename mc url
"https://raw.githubusercontent.com/sasjs/core/main/macrocore.sas";
%inc mc;
The `build.sh` file in the https://github.com/sasjs/core repo
is used to create this file.
@author Allan Bowe
**/
EOL
cat base/* >> $OUTFILE
cat meta/* >> $OUTFILE
cat metax/* >> $OUTFILE
cat viya/* >> $OUTFILE