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

Setup grunt flow task and run on travis #6684

Merged
merged 1 commit into from
May 4, 2016
Merged

Conversation

zpao
Copy link
Member

@zpao zpao commented May 2, 2016

Depends on #6682, currently looking at the root for .flowconfig but can be changed as needed. cc @sebmarkbage

var done = this.async();
grunt.util.spawn({
cmd: 'node_modules/.bin/flow' + extension,
args: ['check', '.'],
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will people run this interactively and get confused that it's slow?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All of our grunt tasks are slow so probably doesn't matter.

@sophiebits
Copy link
Collaborator

Seems good. Grunt is weird.

@sebmarkbage
Copy link
Collaborator

Ok. If you rebase, it should pass.

@ghost
Copy link

ghost commented May 3, 2016

@zpao updated the pull request.

@zpao
Copy link
Member Author

zpao commented May 3, 2016

Alright, locked in at Flow 0.24.0 since that's what we have installed (and our flowconfig expects that). I also ensured we're using latest fbjs which comes with a Promise.js lib file with the non-standard methods that we're (where we just means other code in fbjs) using.

@ghost
Copy link

ghost commented May 3, 2016

@zpao updated the pull request.

@zpao zpao merged commit c9504d9 into facebook:master May 4, 2016
@zpao zpao modified the milestones: 15.0.3, 15.y.z May 17, 2016
zpao added a commit to zpao/react that referenced this pull request Jun 8, 2016
zpao added a commit that referenced this pull request Jun 14, 2016
@zpao zpao modified the milestones: 15-next, 15.2.0 Jun 14, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants