tibia/templates/web/tibia-index.js

15 lines
693 B
JavaScript
Raw Normal View History

2024-01-17 16:31:14 +00:00
var path = require("path");
var sep = path.sep;
module.exports = function (data, api) {
api.copyFile(`src${sep}memset.h`, `src${sep}memset.h`);
2024-02-02 16:44:58 +00:00
api.copyFile(`src${sep}memset.c`, `src${sep}memset.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
};