mirror of
https://github.com/johndoe6345789/metabuilder.git
synced 2026-04-25 22:34:56 +00:00
Improve shell script safety in documentation
Use heredoc instead of echo for multi-line C++ code to avoid shell interpretation issues. Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
This commit is contained in:
@@ -72,11 +72,13 @@ When you're ready to implement the C++ codebase:
|
||||
|
||||
2. **Create a minimal main.cpp to test the build**:
|
||||
```bash
|
||||
echo '#include <iostream>
|
||||
int main() {
|
||||
std::cout << "DBAL Daemon v0.1.0" << std::endl;
|
||||
return 0;
|
||||
}' > dbal/cpp/src/daemon/main.cpp
|
||||
cat > dbal/cpp/src/daemon/main.cpp << 'EOF'
|
||||
#include <iostream>
|
||||
int main() {
|
||||
std::cout << "DBAL Daemon v0.1.0" << std::endl;
|
||||
return 0;
|
||||
}
|
||||
EOF
|
||||
```
|
||||
|
||||
3. **Add stub implementations** for files referenced in CMakeLists.txt
|
||||
|
||||
Reference in New Issue
Block a user