Skip to content
This repository has been archived by the owner on Mar 3, 2023. It is now read-only.

Allow repository to be used from $NODE_PATH #26

Merged
merged 1 commit into from
Jun 26, 2012
Merged

Conversation

timbertson
Copy link
Contributor

Having a toplevel directory called "lib" means you can't put a repository checkout on $NODE_PATH and be able to require("dynamo").

I've added a symlink that enables this, although it would be perfectly reasonable (but a little more effort) to rename "lib" -> "dynamo".

I need this because I don't use npm, and would rather not have to maintain a fork of this project just to change the toplevel directory name.

@jed
Copy link
Owner

jed commented Jun 25, 2012

i'd rather fix this properly than use a hacky symlink... would you mind trying the dynamo rename?

@timbertson
Copy link
Contributor Author

Yup, seems to work fine: https://github.com/gfxmonk/dynamo/tree/rename

jed added a commit that referenced this pull request Jun 26, 2012
Allow repository to be used from $NODE_PATH
@jed jed merged commit 63c0218 into jed:master Jun 26, 2012
@jed
Copy link
Owner

jed commented Jun 26, 2012

cool, merged. thanks, @gfxmonk.

@timbertson
Copy link
Contributor Author

Erm, didn't you prefer the rename solution? Looks like you've merged the symlink.

@jed
Copy link
Owner

jed commented Jun 27, 2012

blarg, can you set up another PR from the rename branch?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants