wurstscript / wurst-jar-wrapper

Windows executable wrapper for the wurstscript.jar
MIT License
3 stars 1 forks source link

Cargo-make makefile doesn't work on some platforms #7

Closed Cokemonkey11 closed 4 years ago

Cokemonkey11 commented 5 years ago

working version: 'echo "wurstsetup.jar" > src/jar.tmp'

"Echo borked on windows"

I think the user is using cmd or powershell ISE, with a rust installation that doesn't use msys2.

Cokemonkey11 commented 5 years ago
Cokemonkey11 commented 5 years ago

Naively, running echo \"hello\" > out.tmp in cmd.exe does include the double-quotes.

Cokemonkey11 commented 5 years ago

@frotty how did you install Rust? What terminal did you use to call cargo make? Was it powershell?

Frotty commented 5 years ago

Via the command from the readme (rustup)

Cokemonkey11 commented 5 years ago

@Frotty so you used rustup-init.exe instead of WSL or Msys2?

Frotty commented 5 years ago

of course

Cokemonkey11 commented 5 years ago

@Frotty I was too lazy to spin up a VM and repro the problem, but your suggested workaround works fine on msys2, which is good enough for me.

See #12