diff --git a/Taskfile.yml b/Taskfile.yml index 0cf2568bba..7742bd1c25 100644 --- a/Taskfile.yml +++ b/Taskfile.yml @@ -324,6 +324,7 @@ tasks: - cmd: "{{.RMRF}} dist/tsunamiscaffold" ignore_error: true - task: copyfiles:'tsunami/frontend/scaffold':'dist/tsunamiscaffold' + - cmd: '{{if eq OS "windows"}}powershell Copy-Item -Path tsunami/templates/empty-gomod.tmpl -Destination dist/tsunamiscaffold/go.mod{{else}}cp tsunami/templates/empty-gomod.tmpl dist/tsunamiscaffold/go.mod{{end}}' deps: - tsunami:scaffold sources: diff --git a/tsunami/templates/empty-gomod.tmpl b/tsunami/templates/empty-gomod.tmpl new file mode 100644 index 0000000000..7647df07a5 --- /dev/null +++ b/tsunami/templates/empty-gomod.tmpl @@ -0,0 +1,3 @@ +module empty + +go 1.24.6 \ No newline at end of file