calebh / Juniper

https://www.juniper-lang.org/
MIT License
79 stars 9 forks source link

Replaced Windows-only PostBuild target in project settings with a cro… #13

Closed AlexSKaye closed 4 months ago

AlexSKaye commented 4 months ago

Nixpkgs currently has an old version of Juniper (2.3.0), wrapped from the portable Linux zip. I've updated the Nix packaging script for 4.0.0, this time building from source. This required a change to the project file which was using xcopy to bring over junstd etc. I've replaced it with (hopefully cross-platform) functionality built into MSBuild, which (at least on my NixOS machine) copies those directories into both the build and publish directories. I'm not sure how you're producing your releases, so I haven't yet tried it in Visual Studio on Windows. Hopefully it just works, and if you're happy to merge, I can try to get the version in Nixpkgs updated.

calebh commented 4 months ago

I will take a closer look and test this out later today. The xcopy stuff was something that bothered me, so this looks like a welcome change.