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 mina setup new a file use makdir -p #538

Closed
dongfeng676 opened this issue May 7, 2017 · 2 comments
Closed

why mina setup new a file use makdir -p #538

dongfeng676 opened this issue May 7, 2017 · 2 comments

Comments

@dongfeng676
Copy link

fetch(:shared_files, []).each do |linked_path|
command %{mkdir -p "#{File.dirname(linked_path)}"}
end

@adam12
Copy link

adam12 commented May 17, 2017

This is a sanity check to ensure that the destination folder of the symbolic link actually exists before attempting to create it.

@d4be4st
Copy link
Member

d4be4st commented Sep 8, 2017

because the deploy would fail if all shared folders are not created, and to ensure that we use -p

@d4be4st d4be4st closed this as completed Sep 8, 2017
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

No branches or pull requests

3 participants