 path = require "path"
 glob = require 'glob'
-sh = require "execSync"
 
 class BuildProject extends require("./base")
   name: "build-project"

    inPath = args._[0]
    outPath = args._[1]

    if !inPath || !outPath
      @help()
      return

    # TODO check if input path is valid
    inPath = @ensureTrailingSlash(inPath)

  summary: "Builds a given project to an output path."

  doc: """
  fork2 build-project $PROJECT_PATH [$OUTPUT_PATH]

  $OUTPUT_PATH defaults to $PROJECT_PATH/.workspace
  """

  # TODO. rebuild option should remove the otuput path before build.
