BahPackageManager enables you to install and remove package without worrying about dependencies.
This is still a work in progress!
Make sure you have lib sqlite3 installed.
- Compile BPM
bah ./main.bah -d - Install it!
./main -install itselfWarning: do not usesudoas it will not install bpm or any package for the current user.
You can get more informations about its usage by running bpm -h.
-wrapto generate thebpm.modfile that will be needed when installing your package.-listto list every package installed.-install <package>to install a package.-updateto update all packages.-remove <package>to remove a package.-deps <package>to list every depenedencies of a program.
- The name of the main file of your package should be the name of your package's git (or main.bah).
That way, for the package
ithirzty/javel2, the entry point isjavel2.bah. - System libraries that you want to ship with your package should be in a folder named
libsat the root of the package inside subfolderslinux,darwin(macos) andwindowsdepending on the libraries platform. - After initializing a git repository inside your package's folder and setting its url, type
bpm -wrapto create thebpm.modfile.
- Locate your BPM folder (in the home folder).
- Edit sources.json to add an origin.