mirror of
https://github.com/johndoe6345789/metabuilder.git
synced 2026-04-26 14:54:55 +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**:
|
2. **Create a minimal main.cpp to test the build**:
|
||||||
```bash
|
```bash
|
||||||
echo '#include <iostream>
|
cat > dbal/cpp/src/daemon/main.cpp << 'EOF'
|
||||||
int main() {
|
#include <iostream>
|
||||||
std::cout << "DBAL Daemon v0.1.0" << std::endl;
|
int main() {
|
||||||
return 0;
|
std::cout << "DBAL Daemon v0.1.0" << std::endl;
|
||||||
}' > dbal/cpp/src/daemon/main.cpp
|
return 0;
|
||||||
|
}
|
||||||
|
EOF
|
||||||
```
|
```
|
||||||
|
|
||||||
3. **Add stub implementations** for files referenced in CMakeLists.txt
|
3. **Add stub implementations** for files referenced in CMakeLists.txt
|
||||||
|
|||||||
Reference in New Issue
Block a user