completium / vscode-archetype

Archetype language support for Visual Studio Code
MIT License
2 stars 2 forks source link

Fix docker compile for wsl2 #24

Closed johannww closed 1 year ago

johannww commented 1 year ago

Testing with wsl2 was presenting failure when compiling with docker due to the 'cwd' process folder. The code was taking the VSCode process dir instead, which was a windows path unrelated to the workspace. With this modification, the container can properly find the contract to be compiled, using the proper path.

I offer this pull request as a suggestion, as it worked for me. I did not extensively test this. I could successfully obtain the compiled .tz contract.

guillaumeduhamel commented 1 year ago

thanks