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

fix: wrapper install now also copies jbang.ps1 #1391

Merged
merged 1 commit into from
Jul 7, 2022

Conversation

quintesse
Copy link
Contributor

We didn't copy this before because having just jbang.cmd was thought
to be enough for Windows. But some time ago we actually removed all
installation code from the batch file and delegate any installation
requirements to the .ps1 file. So the wrapper installation was missing
a file on Windows.

Fixes #1386

We didn't copy this before because having just `jbang.cmd` was thought
to be enough for Windows. But some time ago we actually removed all
installation code from the batch file and delegate any installation
requirements to the .ps1 file. So the wrapper installation was missing
a file on Windows.

Fixes jbangdev#1386
@quintesse quintesse requested a review from maxandersen June 27, 2022 11:45
@codecov
Copy link

codecov bot commented Jun 27, 2022

Codecov Report

Merging #1391 (9fdc822) into main (c89b4c5) will decrease coverage by 0.01%.
The diff coverage is 0.00%.

@@             Coverage Diff              @@
##               main    #1391      +/-   ##
============================================
- Coverage     56.99%   56.97%   -0.02%     
  Complexity     1206     1206              
============================================
  Files           104      104              
  Lines          6281     6283       +2     
  Branches       1034     1034              
============================================
  Hits           3580     3580              
- Misses         2220     2222       +2     
  Partials        481      481              
Flag Coverage Δ
Linux 55.81% <0.00%> (-0.02%) ⬇️
Windows 56.40% <0.00%> (-0.02%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
src/main/java/dev/jbang/cli/Wrapper.java 0.00% <0.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c89b4c5...9fdc822. Read the comment docs.

@maxandersen maxandersen enabled auto-merge (squash) July 7, 2022 08:33
@maxandersen maxandersen disabled auto-merge July 7, 2022 08:33
@maxandersen maxandersen merged commit bfbb744 into jbangdev:main Jul 7, 2022
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

Successfully merging this pull request may close these issues.

The jbang.cmd wrapper doesn't seem to work on Windows 2022 (GH Actions)
2 participants