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

Why does bootstrap.sh copy the installation scripts to the home directory? #23

Open
dportabella opened this issue May 28, 2016 · 2 comments

Comments

@dportabella
Copy link
Contributor

if I understood it corretly from README.MD, we can install like this:

$ git clone https://github.com/donnemartin/dev-setup.git && cd dev-setup
$ ./.dots bootstrap osxprep brew osx

and later when we need datastores, we run

$ cd ~/dev-setup
$ ./.dots datastores

I understand that bootstrap copies the dot files to the home directory, such as .bash_profile and .exports.
but why do you also copy the installation scripts, such as .dots and datastores to the home directory, if we are always going to execute them from ~/dev-setup/ (as they can be updated from git)?

@thomas-hervey
Copy link

I was wondering this as well. I believe there is a note about an option to save the install files to another location, but this should be default.

@donnemartin
Copy link
Owner

Hmm, yes I can see this being confusing.

Interested in a PR? I think you'd need to add the installation scripts to the excludes in bootstrap.sh:

https://github.com/donnemartin/dev-setup/blob/master/bootstrap.sh#L8-L9

@donnemartin donnemartin changed the title why bootstraps copies also the installation scripts to the home directory? Why does bootstrap.sh copy the installation scripts to the home directory? Jun 11, 2016
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

3 participants