mirror of
https://github.com/Kir-Antipov/mc-publish.git
synced 2024-12-28 17:44:54 -05:00
Moved metadata files to their corresponding modloader folders
This commit is contained in:
parent
45765a374e
commit
cd97ceed4f
4 changed files with 3 additions and 3 deletions
|
@ -10,7 +10,7 @@ describe("ModMetadataReader.readMetadata", () => {
|
|||
describe("Fabric", () => {
|
||||
beforeAll(() => new Promise(resolve => {
|
||||
const zip = new ZipFile();
|
||||
zip.addFile("./test/content/fabric.mod.json", "fabric.mod.json");
|
||||
zip.addFile("./test/content/fabric/fabric.mod.json", "fabric.mod.json");
|
||||
zip.end();
|
||||
zip.outputStream.pipe(fs.createWriteStream("example-mod.fabric.jar")).on("close", resolve);
|
||||
}));
|
||||
|
@ -97,7 +97,7 @@ describe("ModMetadataReader.readMetadata", () => {
|
|||
describe("Forge", () => {
|
||||
beforeAll(() => new Promise(resolve => {
|
||||
const zip = new ZipFile();
|
||||
zip.addFile("./test/content/mods.toml", "META-INF/mods.toml");
|
||||
zip.addFile("./test/content/forge/mods.toml", "META-INF/mods.toml");
|
||||
zip.end();
|
||||
zip.outputStream.pipe(fs.createWriteStream("example-mod.forge.jar")).on("close", resolve);
|
||||
}));
|
||||
|
@ -173,7 +173,7 @@ describe("ModMetadataReader.readMetadata", () => {
|
|||
describe("Quilt", () => {
|
||||
beforeAll(() => new Promise(resolve => {
|
||||
const zip = new ZipFile();
|
||||
zip.addFile("./test/content/quilt.mod.json", "quilt.mod.json");
|
||||
zip.addFile("./test/content/quilt/quilt.mod.json", "quilt.mod.json");
|
||||
zip.end();
|
||||
zip.outputStream.pipe(fs.createWriteStream("example-mod.quilt.jar")).on("close", resolve);
|
||||
}));
|
||||
|
|
Loading…
Reference in a new issue