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

Better handling of file permissions #1

Closed
sandersky opened this issue Nov 8, 2017 · 0 comments
Closed

Better handling of file permissions #1

sandersky opened this issue Nov 8, 2017 · 0 comments

Comments

@sandersky
Copy link
Member

When using nodely on a Node project, it'd be nice to maintain the same file permissions on the output files that are found on the source files. For example when writing a Node script where src/index.js is actually going to be run via something like node ./lib/index.js, we'd typically do something like chmod +x ./lib/index.js to make it executable. However seeing as the lib directory isn't being checked into repos using this project, every dev that wants to do a build has to manually run the chmod command. Instead the chmod command should be done on the source file, which is checked into the repo. Nodely should then respect these file permissions when writing the output files, making it so devs never have to run chmod after the initial source file has been chmod'd and checked in.

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

No branches or pull requests

1 participant