@keymanapp/kmc
Version:
Keyman Developer compiler command line tools
11 lines • 483 B
TypeScript
/**
* This is a helper function to derive the relative path within the
* @keymanapp/keyboards or @keymanapp/lexical-models repository, given a .kpj
* project filename. Handles \ vs /. Must be a project filename, not a project
* folder.
*
* For example, given "c/path/to/keyboards/release/k/keyboard/keyboard.kpj, we
* want "release/k/keyboard".
*/
export declare function calculateSourcePath(projectFilename: string): string;
//# sourceMappingURL=calculateSourcePath.d.ts.map