mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-03-29 22:41:56 +08:00
Summary: [Buck](https://buckbuild.com) has a concept of a versioned tool. In order to properly use RN with Buck, the `cli.js` script should return the proper version when passed `--version`. Reviewed By: astreet Differential Revision: D3197207 fb-gh-sync-id: 12ea35587cf492eb89d7dd102e93bdd26bc813c0 fbshipit-source-id: 12ea35587cf492eb89d7dd102e93bdd26bc813c0