Skip to content

Commit 7ee5275

Browse files
coadometa-codesync[bot]
authored andcommitted
Add aliases for running cxx-api scripts (facebook#56145)
Summary: Pull Request resolved: facebook#56145 Add npm aliases for running python cxx-api snapshot generation script (build and validate): ```sh python -m scripts.cxx-api.parser // cxx-api-build python -m scripts.cxx-api.parser --check // cxx-api-validate ``` and also a js1 wrapper for buck equivalent. Changelog: [Internal] Reviewed By: cortinico Differential Revision: D97132752 fbshipit-source-id: e35d6d037ba3dad2a6b3294d0de9f5041847b33a
1 parent c388754 commit 7ee5275

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111
"build-types": "node ./scripts/js-api/build-types",
1212
"clang-format": "clang-format -i --glob=*/**/*.{h,cpp,m,mm}",
1313
"clean": "node ./scripts/build/clean.js",
14+
"cxx-api-build": "python -m scripts.cxx-api.parser",
15+
"cxx-api-validate": "python -m scripts.cxx-api.parser --check",
1416
"flow-check": "flow check",
1517
"flow": "flow",
1618
"format-check": "prettier --list-different \"./**/*.{js,md,yml,ts,tsx}\"",

0 commit comments

Comments
 (0)