clj-on-windows

For those interested in making clj on Windows https://dev.clojure.org/jira/browse/TDEPS-67. Also see https://github.com/littleli/scoop-clojure.
2019-07-05T14:09:58.325400Z

easy to solve by just copying the ps1 script's contents, modify it to choose index 0 and paste it into the build environment

2019-07-05T14:36:03.326400Z

I keep getting this error on AppVeyor

The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop
I deleted it from the ps1 script and added $global:ErrorActionPreference = "Continue" at the beginning of the build section (and init too). But it seems that something keeps setting this to Stop.

2019-07-05T14:45:54.327400Z

When deleting it, I can see the error being thrown

Copy-Item : Cannot find path 'C:\example-deps.edn' because it does not exist.
At line:171 char:5
+     Copy-Item "$InstallDir\example-deps.edn" "$ConfigDir\deps.edn"
+     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (C:\example-deps.edn:String) [Copy-Item], ItemNotFoundException
    + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.CopyItemCommand
 
Should I open a ticket @alexmiller?

alexmiller 2019-07-05T14:49:42.327700Z

sure, you can do that at https://clojure.atlassian.net/servicedesk/customer/portal/1, don't need a jira acct

alexmiller 2019-07-05T14:49:52.328Z

I don't know enough to assess and fix it though

2019-07-05T14:51:31.328400Z

Looks easy https://github.com/clojure/brew-install/blob/f023ed48e6826bca3f9a639c484c9a344cd90205/src/main/resources/ClojureTools.psm1#L195-L197 just check if the file exists before copying it over, I'd assume.

2019-07-05T14:51:34.328700Z

I'll open ticket