@gobstones/gobstones-scripts
Version:
Scripts to abstract away build configuration of Gobstones Project's libraries and modules.
12 lines • 487 B
TypeScript
/**
* Takes two scripts as a string and returns the first
* if the current environment is unix bases (Linux, MacOS, etc.),
* and the second if the current environment is not (windows systems)
*
* @param script - the script to use for unix
* @param altScript - the script to use for windows
*
* @return The bash script, first if system is unix, second if windows.
*/
export declare const ifUnix: (script: string, altScript: string) => string;
//# sourceMappingURL=ifUnix.d.ts.map