SanderMertens/bake

Correct installation of bake

Opened this issue · 2 comments

As far as I understand, if install bake, then it communicates with the system directories. Everything is clear with include/lib, but where to install meta correctly into the system?

 bake .        
[  error] failed to locate binary for package 'bake.lang.c'
[   from] could not load driver 'bake.lang.c'
[   from] failed to load driver for language 'c'
[   warn]  ignoring '.' because of errors
no projects found in '.'

I want to build a package that would install bake on the system, and not locally, so it is necessary to place the files in the correct directories.

Give at least some feedback, colleagues.

Hm, I have never tried it but I think you'd have to create something like a /usr/local/meta directory. If you mirror the directory structure in ~/bake of a local install in /usr/local and then point BAKE_HOME TO /usr/local, it should work.

Note that while I think this is possible, bake hasn't really been designed to be a system-level package manager.