Options
All
  • Public
  • Public/Protected
  • All
Menu

Module UpdateMakefile

Index

Functions

default

  • default(workspaceLocation: string, info: default): Promise<Error | string>
  • description

    creates a new makefile based on the current info and checks if it should update the old makefile.

    Parameters

    • workspaceLocation: string

      location of the current workspace

    • info: default

    Returns Promise<Error | string>

getCurrentMakefile

  • getCurrentMakefile(makefilePath: string): Promise<Error | string>
  • Used to retrieve the makefile, however do not that the requirement of having the makefile is checked earlier in the whole process

    Parameters

    • makefilePath: string

      path to the makefile, usually it is ./Makefile

    Returns Promise<Error | string>

writeMakefile

  • writeMakefile(makefilePath: string, makefile: string): Promise<void>
  • Writes the makefile to the specified location

    Parameters

    • makefilePath: string

      the path to the makefile

    • makefile: string

      the makefile to write in string format

    Returns Promise<void>

Generated using TypeDoc