script of the day, to work with multiple nim packages

2016-11-13 Thread Krux02
I work with multiple nim packages, and wrote a tiny shell script that turned out to be very useful for me. I just thought I might share it here, if anyone cares: function niminstall { if [[ -e ~/proj/nim/$1 ]]; then pushd -q ~/proj/nim/$1 yes | nimble

Re: script of the day, to work with multiple nim packages

2016-11-15 Thread dom96
For those interested: I plan to solve this in Nimble by implementing what is described in this comment: [https://github.com/nim-lang/nimble/issues/240#issuecomment-27708](https://github.com/nim-lang/nimble/issues/240#issuecomment-27708). > Btw the yes program just spams "y" lines on stdo

Re: script of the day, to work with multiple nim packages

2016-11-20 Thread Krux02
@dom96 I already knew about the yes tool, and thought it would finally be a good use case. But aparently for this specific use case there was already a solution that did not require a yes tool installed.