migration
migration copied to clipboard
Windows support
commands in package.json
require rm -rf
, mkdir
, cat
, jq
, replace them with the cross platform npm equivalent.
#32 partially addresses the problems, but the docker commands still don't work.
This should be working now but I'm unable to test it as I don't have Windows, closing for now and please reopen if this is still relevant.
Docker command still doesn't work. This is in powershell where are least one has cat
:
$ npm run docker:build
> @daostack/[email protected] docker:build C:\Users\dkent\Documents\Projects\GitHub\DAOStack\migration
> docker build . -t daostack/migration:$(cat package.json | jq -r '.version')
'jq' is not recognized as an internal or external command,
operable program or batch file.