@gobstones/gobstones-scripts
Version:
Scripts to abstract away build configuration of Gobstones Project's libraries and modules.
25 lines • 680 B
TypeScript
/**
* This type represents the options that you can pass to the chmod task.
*/
export interface TaskChmodOptions {
/**
* The files on which to run chmod, may be a glob pattern.
*/
files: string;
/**
* The permissions to apply to the files.
*/
mod: string;
}
/**
* Returns the string for the bash command to run
* a chmod command. Only working in unix based systems.
*
* @param options - The options applied when running the chmod.
*
* @example chmod({ files: './dist/files', mod: '+x' })
*
* @returns The bash command string.
*/
export declare const chmod: (options: TaskChmodOptions) => string;
//# sourceMappingURL=chmod.d.ts.map