mirror of
https://github.com/expo/config-plugins.git
synced 2026-11-15 03:38:06 -10:00
16 lines
329 B
TypeScript
16 lines
329 B
TypeScript
import path from "path";
|
|
import fs from "fs";
|
|
|
|
export function getFixture(
|
|
name:
|
|
| "AppDelegate.mm"
|
|
| "AppDelegate.swift"
|
|
| "app-build.gradle"
|
|
| "build.gradle"
|
|
| "Podfile"
|
|
| "app-Bridging-Header.h"
|
|
): string {
|
|
const filepath = path.join(__dirname, name);
|
|
return fs.readFileSync(filepath, "utf8");
|
|
}
|