2024-01-17 16:31:14 +00:00
|
|
|
var path = require("path");
|
|
|
|
var sep = path.sep;
|
|
|
|
|
|
|
|
module.exports = function (data, api) {
|
2024-02-21 08:03:50 +00:00
|
|
|
api.copyFile(`src${sep}string.h`, `src${sep}string.h`);
|
|
|
|
api.copyFile(`src${sep}string.c`, `src${sep}string.c`);
|
2024-01-17 16:31:14 +00:00
|
|
|
api.copyFile(`src${sep}walloc.h`, `src${sep}walloc.h`);
|
2024-02-02 16:44:58 +00:00
|
|
|
api.copyFile(`src${sep}walloc.c`, `src${sep}walloc.c`);
|
|
|
|
api.copyFile(`src${sep}new.cpp`, `src${sep}new.cpp`);
|
2024-01-18 14:30:38 +00:00
|
|
|
api.copyFile(`src${sep}processor.c`, `src${sep}processor.c`);
|
2024-01-17 16:31:14 +00:00
|
|
|
api.generateFileFromTemplateFile(`src${sep}data.h`, `src${sep}data.h`, data);
|
2024-01-18 14:30:38 +00:00
|
|
|
api.generateFileFromTemplateFile(`src${sep}processor.js`, `src${sep}processor.js`, data);
|
2024-01-18 17:13:31 +00:00
|
|
|
api.generateFileFromTemplateFile(`src${sep}module.js`, `src${sep}module.js`, data);
|
2024-01-17 16:31:14 +00:00
|
|
|
};
|