Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Copy the symlink content #126

Merged
merged 1 commit into from
Jul 12, 2016
Merged

Copy the symlink content #126

merged 1 commit into from
Jul 12, 2016

Conversation

rustico
Copy link
Contributor

@rustico rustico commented Jul 10, 2016

Hi,

Is is possible to add the -L option when doing the rsync?

I have added and everything is working. I was in need to use added because I am having the following structure in a project:

/lambda-function-A
/lambda-function-B
/lambda-function-C
/common-library

being each lambda-function a js module and each having a symlink to the common-library.

I tried different solutions like using npm-link or add to the package.json the file:// option but they don't work because they are one directory above.

The solution I found that it works is adding a symlink and copying it contents when executing rsync.

Thanks!

@DeviaVir
Copy link
Collaborator

Sure thing!

@DeviaVir DeviaVir merged commit 1e618c9 into motdotla:master Jul 12, 2016
@DeviaVir DeviaVir mentioned this pull request Jul 16, 2016
7 tasks
@DeviaVir DeviaVir mentioned this pull request Aug 16, 2016
7 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants