-
Notifications
You must be signed in to change notification settings - Fork 203
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
[proposal] basic ci #41
Comments
I'm fine with a two phased approach. I'm just not sure what we can test. I'm not sure I care about extra spaces. I mean, it would be nice to trim the lines of trailing whitespace but I'm not sure it's critical. I'd really like to test every script so that when CI fails, we know that nushell changed. For instance, recently we changed |
I also like your idea to give credit where it's due on one-liners. Good job! |
Agreed. I seek out errant whitespace to remove it. So entirely personal.
This is a great point. I also feel like that connects to the problem of scripts for learning and teaching versus those for experts who know what they are looking at. If we establish a convention for learning oneliners, we could better test them.
I love the idea to collect them into one so we can test and do more things with them. |
I'm open to ideas but I was thinking something like text files.
And then we need to get nushell somehow in the CI and run the I prefer starting very simple and then submitting PRs over time to add complexity where it's necessary. |
Sounds great!
Random but I recently implemented nu scripting in a project so I can provide one answer to this question. apk add nushell --update-cache --repository http://dl-3.alpinelinux.org/alpine/edge/testing/ --allow-untrusted I needed to use |
I noticed some scripts are marked as executable and others are not. |
@efx i'm on windows and none of them are marked as executable since that isn't a thing. :) For *nix I'm happy to accept a PR that does that or linting as you suggest. |
@fdncred ah, thanks for noting that; corrects my perspective on whether it is worth pursuing. My *nix bias creeping in 😄. |
A folder that expects structure (see #40) would benefit from basic CI.
Before embarking, should we add CI? If so, what should CI check?
ideas
.nu
filesnu
do static analysis?The text was updated successfully, but these errors were encountered: