2024-02-02 15:58:51 +00:00
|
|
|
var path = require("path");
|
|
|
|
var sep = path.sep;
|
|
|
|
|
|
|
|
module.exports = function (data, api) {
|
|
|
|
api.generateFileFromTemplateFile(`src${sep}data.h`, `src${sep}data.h`, data);
|
2024-02-05 12:55:57 +00:00
|
|
|
api.generateFileFromTemplateFile(`src${sep}index.html`, `src${sep}index.html`, data);
|
2024-02-02 15:58:51 +00:00
|
|
|
api.copyFile(`src${sep}native.mm`, `src${sep}native.mm`);
|
|
|
|
api.copyFile(`src${sep}app-Bridging-Header.h`, `src${sep}app-Bridging-Header.h`);
|
2024-02-05 12:55:57 +00:00
|
|
|
api.copyFile(`src${sep}app.swift`, `src${sep}app.swift`, data);
|
2024-02-02 15:58:51 +00:00
|
|
|
};
|