Skip to content

Commit 6c2e34b

Browse files
hramosfacebook-github-bot
authored andcommitted
Hermes: Create prepare-hermes-for-build.js script
Summary: Adds a script that uses the new hermes-utils.js functions to prepare the local filesystem for Hermes to be built from source (e.g. download the Hermes source code tarball and extract it into its final location). Changelog: [Internal] Reviewed By: cortinico Differential Revision: D36334624 fbshipit-source-id: 012f758ecda07931bdb0ab1728b87733bf5af16a
1 parent 3412f06 commit 6c2e34b

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
/**
2+
* Copyright (c) Meta Platforms, Inc. and affiliates.
3+
*
4+
* This source code is licensed under the MIT license found in the
5+
* LICENSE file in the root directory of this source tree.
6+
*
7+
* @format
8+
*/
9+
10+
'use strict';
11+
12+
/**
13+
* This script prepares Hermes to be built as part of the
14+
* iOS build pipeline on macOS.
15+
*/
16+
const {
17+
copyBuildScripts,
18+
downloadHermesTarball,
19+
expandHermesTarball,
20+
} = require('./hermes-utils');
21+
22+
downloadHermesTarball();
23+
expandHermesTarball();
24+
copyBuildScripts();

0 commit comments

Comments
 (0)