Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Built files not reachable withing post-build-dart-script #93

@felixblaschke

Description

@felixblaschke

When using --post-build-dart-script the "temporary directory" where all built files are, are not reachable/visible. Therefore I am not able to modify the files with the dart script.

I created a new Flutter project and used the following Dart script as --post-build-dart-script :

main() {
  Directory(".").listSync(recursive: true).forEach((file) {
    if (!file.path.startsWith("./.git")) {
      print(file.path);
    }
  });
}

Within the logged files I couldn't figure out the directory, with the built files.

Maybe you can clarify on that in the README file.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions