예제 #1
0
  def execute(self, argv):
    opts = self.make_opts()
    (options, args) = opts.parse_args(argv)

    output = os.path.abspath('output')
    if len(args) > 0:
      output = os.path.abspath(args[0])

    core.rmtree(output)
예제 #2
0
  def execute(self, argv):
    opts = self.make_opts()
    (options, args) = opts.parse_args(argv)

    if options.force:
      azp = os.path.join(core.home_path(), '.az', 'core')
      core.rmtree(azp)
    else:
      self._check()

    self.ctx.defaults['KOTLIN_CP'] = core.find_kotlin()