poetic/ember-cli-cordova

Link environment creates an absolute symlink

Closed this issue · 3 comments

The cordova/www symlink is created and committed with an absolute path.

i.e. cordova/www -> /Users/someone/Code/some-project/dist

This leads to some confusion when cloning on other people’s machines.

Ideally it should be cordova/www -> ../dist.

Incredible addon by the way. Thanks so much for your hard work.

Actually, this may be more a Git issue than ember-cli-cordova issue. Would be good to get your thoughts either way.

@jgwhite You're correct, it should be relative. There is a prepare command I added that re-sets this up after cloning a project, but a relative symlink would definitely be better. I'll get this fixed

Awesome, thanks!