-
Notifications
You must be signed in to change notification settings - Fork 41
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
make_linux_app is creates more and more files each time #19
Comments
that's interesting indeed :) I'll have a look soon-ish. Thanks :) |
this line is doing the same for ios apps and it's causing me to hit max path https://github.com/snipsco/dinghy/blob/master/src/ios/xcode.rs#L39 commenting out that line and it's alive again |
Ok, by any chance, do you happen not to have a .gitignore file around that skips target ? I think this is the reason why you got in trouble, as dinghy uses https://docs.rs/ignore/0.1.9/ignore/ to guess what to copy (to target/ first, and then to the device). Removing it on one of my project leads to absurd behaviour of a different kind, but still aberrant (infinite loop while copying stuff in target). I think the best way to go is a fix that explicitely ignores target/, but it would be nice if you could confirm the absence of .gitignore in your project. |
I don't have one because that project uses hg not git |
yep, doing that right now. |
thanks for confirming the bug |
Why does the android one copy the files by the way? I don't see that it does anything with them. |
you do not require them per se... but many times, tests rely on the presence of test data in a separate file that is read by the test. |
i have pushed a 0.2.8 that will always ignore /target/. I'm pretty sure this will bite me some day, but I'll deal with it at that time :) |
well it gets further, but i get a failure trying to run the tests on android cause dinghy is a dir not an executable |
if you're looking at this don't worry. i was working on a PR and have fixed it in that :) |
make_linux_app
copies the root of a project intotarget/deps/dinghy/dinghy
for some reasonit also copies target, which contains the previous copy, so now you have two, next time you'll have three, and so on.
not sure best way to fix it but thought i'd let you know :)
The text was updated successfully, but these errors were encountered: