mirror of
https://github.com/facebookarchive/prepack.git
synced 2024-10-27 15:47:30 +03:00
d9dc4d2fd1
Summary: The [website publication script](https://github.com/facebook/prepack/blob/master/scripts/publish-gh-pages.sh) creates a temporary directory (`build`) to fetch fresh copies of the `master` and `gh-pages` branches. This temporary directory is not removed and causes `flow` to check it when running `yarn flow`, causing many errors. To address this issue, this PR: - Changes the publication script to clean up temporary directories at the end of its execution - Renames the temporary directory name from `build` to `tmp_website_build` to make it clearer that it can be safely removed, should the script fail to remove it - Changes `.gitignore` and `.flowconfig` to ignore the temporary directory, should the script fail to remove it Thanks to hermanventer for reporting the issue Closes https://github.com/facebook/prepack/pull/1302 Differential Revision: D6648852 Pulled By: j-nolan fbshipit-source-id: 099963bf6907ff7e69301acafcfb3aeedfbb5b20
20 lines
351 B
Plaintext
20 lines
351 B
Plaintext
[ignore]
|
|
.*/node_modules/babel.*
|
|
.*/test262/.*
|
|
.*/node_modules/.*\.json
|
|
.*/lib/.*
|
|
.*/test/serializer/.*
|
|
.*/scripts/prettier.js
|
|
.*/tmp_website_build/.*
|
|
|
|
[include]
|
|
|
|
[libs]
|
|
flow-libs
|
|
|
|
[options]
|
|
suppress_comment= \\(.\\|\n\\)*\\$FlowFixMe
|
|
esproposal.class_static_fields=enable
|
|
esproposal.class_instance_fields=enable
|
|
module.name_mapper='/lib/' -> '/src/'
|