This repository has been archived by the owner on Dec 13, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 682
Nuclide Contributor CLI Cheatsheet
Peter Hallam edited this page Aug 17, 2016
·
1 revision
Run a single integration test:
atom --dev --test spec/clang-objc-integration-spec.js
Run a single "apm test" file:
atom --dev --test pkg/hyperclick/spec/Hyperclick-spec.js
Skip the shrinkwrap and install what's in the package.json:
npm install --no-shrinkwrap
Install node_modules without VPN:
npm install --no-proxy
Lint everything:
./node_modules/.bin/eslint .
Print the transpile of a single file with our transforms:
./pkg/nuclide-node-transpiler/bin/transpile.js ./lib/nuclide-features.js
Run all of the integration tests:
find spec -name '*-spec.js' -print0 | xargs -n 1 -0 atom --dev --test
Fast and dirty dev-setup:
rsync -az --delete ~/Nuclide/ $DEV_SRV:~/Nuclide
Fast lint everything:
find . \
\( \
-path '*/node_modules/*' -o \
-path '*/VendorLib/*' \
\) -prune -o -name '*.js' -print \
| xargs -n 500 -P3 ./node_modules/.bin/eslint {}