tibia/templates/vst3/tibia-index.js
Stefano D'Angelo 81cdabbfe2 initial import
2023-12-11 18:54:54 +01:00

12 lines
503 B
JavaScript

var path = require("path");
var sep = path.sep;
module.exports = function (data, api) {
api.generateFileFromTemplateFile(`data${sep}Info.plist`, `data${sep}Info.plist`, data);
api.copyFile(`src${sep}vst3.c`, `src${sep}vst3.c`);
api.generateFileFromTemplateFile(`src${sep}data.h`, `src${sep}data.h`, data);
api.copyFileIfNotExists(`src${sep}plugin.h`, `src${sep}plugin.h`);
api.copyFile(`make${sep}Makefile`, `Makefile`);
api.generateFileFromTemplateFile(`make${sep}vars.mk`, `vars.mk`, data);
};