From 41c893cc173171af74f409459877929596b7f893 Mon Sep 17 00:00:00 2001 From: Evan Morikawa Date: Mon, 12 Dec 2016 10:38:05 -0500 Subject: [PATCH] Move old edgehill src/pro into K2/packages/nylas-private Summary: feat(bootstrap): automatically init submodule if able fix(bootstrap): symlink arc instead of copy Test Plan: test Reviewers: juan Differential Revision: https://phab.nylas.com/D3494 --- script/bootstrap | 6 +++--- src/K2 | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/script/bootstrap b/script/bootstrap index ac0719f21..d085667de 100755 --- a/script/bootstrap +++ b/script/bootstrap @@ -50,9 +50,9 @@ function installPrivateResources() { } // copy Arc Files - fs.copySync(path.join('src', 'K2', '.arcconfig'), '.') - fs.copySync(path.join('src', 'K2', '.arclint'), '.') - fs.copySync(path.join('src', 'K2', 'arclib'), '.') + fs.symlinkSync(path.join('src', 'K2', '.arcconfig'), '.arcconfig', 'file'); + fs.symlinkSync(path.join('src', 'K2', '.arclint'), '.arclint', 'file'); + fs.symlinkSync(path.join('src', 'K2', 'arclib'), 'arclib', 'dir'); // copy Source Extensions unlinkIfExistsSync(path.join('src', 'error-logger-extensions')); diff --git a/src/K2 b/src/K2 index 85de77c96..3a6d3157d 160000 --- a/src/K2 +++ b/src/K2 @@ -1 +1 @@ -Subproject commit 85de77c9645010e7a463e55b16617de50362c49c +Subproject commit 3a6d3157d764eb1034e61ec70f97f8fb6c5b030e