blob: f67b4424909c79604d5c3e1da1c33f50efa4c7c1 [file] [log] [blame]
// Copyright (c) 2018, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
// This is a sample setup "tool" used to test external tool integration into
// dartdoc. It has no practical purpose other than that.
import 'dart:io';
void main(List<String> args) {
assert(args.isNotEmpty);
// Just touch the file given on the command line.
File setupFile = new File(args[0])..createSync(recursive: true);
setupFile.writeAsStringSync('setup');
exit(0);
}