8 lines
228 B
JavaScript
8 lines
228 B
JavaScript
var path = require("path");
|
|
var sep = path.sep;
|
|
|
|
module.exports = function (data, api) {
|
|
api.generateFileFromTemplateFile(`src${sep}data.h`, `src${sep}data.h`, data);
|
|
api.copyFile(`src${sep}main.cpp`, `src${sep}main.cpp`);
|
|
};
|