sed is a platform dependent utility, and its syntax differs on different platform
sed is used by Makefile for make db-entity command, which currently works on linux only, but we need to support Mac as well.
We can use cargo-make, to define a platform specific task for db-entity model creation.
The tasks are defined in Makefile.toml, where we need one macOS specific task, and one generic, which will run on all other platform as default.
sed is a platform dependent utility, and its syntax differs on different platform sed is used by Makefile for
make db-entity
command, which currently works on linux only, but we need to support Mac as well.We can use cargo-make, to define a platform specific task for db-entity model creation. The tasks are defined in Makefile.toml, where we need one macOS specific task, and one generic, which will run on all other platform as default.
More details on cargo-make and how to define platform specific tasks. medium blog