Skip to content
This repository was archived by the owner on Feb 22, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
clean
  • Loading branch information
Chris Yang committed Jan 28, 2021
commit aa9c65c55312fd112198ebba0e795e6071378944
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,8 @@ class BuildExamplesCommand extends PluginCommand {

if (argResults[kIpa]) {
print('\nBUILDING IPA for $packageName');
await processRunner.run(flutterCommand, ['clean']);
await processRunner.run('git', ['clean', '-dfx']);
if (isIosPlugin(plugin, fileSystem)) {
final int exitCode = await processRunner.runAndStream(
flutterCommand,
Expand Down
2 changes: 2 additions & 0 deletions packages/flutter_plugin_tools/lib/src/common.dart
Original file line number Diff line number Diff line change
Expand Up @@ -414,6 +414,8 @@ class ProcessRunner {
bool exitOnError = false,
stdoutEncoding = io.systemEncoding,
stderrEncoding = io.systemEncoding}) async {
print(
'Running command: "$executable ${args.join(' ')}" in ${workingDir?.path ?? io.Directory.current.path}');
return io.Process.run(executable, args,
workingDirectory: workingDir?.path,
stdoutEncoding: stdoutEncoding,
Expand Down