Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
felixblaschke opened this issue Feb 6, 2021 · 0 comments
Open

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

felixblaschke opened this issue Feb 6, 2021 · 0 comments

Comments

@felixblaschke
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant