browserpass-native/README.md
2019-03-13 00:13:03 +01:00

1.3 KiB

Browserpass - native host

Build locally

Make sure you have Golang installed.

The following make goals are available:

Command Description
make or make all Compile the app and run tests
make browserpass Compile the app for your OS
make browserpass-linux64 Compile the app for Linux 64-bit
make browserpass-windows64 Compile the app for Windows 64-bit
make browserpass-darwin64 Compile the app for Mac OS X 64-bit
make browserpass-openbsd64 Compile the app for OpenBSD 64-bit
make browserpass-freebsd64 Compile the app for FreeBSD 64-bit
make test Run tests

Build using Docker

First build the docker image using the following command in the project root:

docker build -t browserpass-native .

The entry point in the docker image is the make command. To run it:

docker run --rm -v "$(pwd)":/src browserpass-native

Specify make goal(s) as the last parameter, for example:

docker run --rm -v "$(pwd)":/src browserpass-native test

Refer to the list of available make goals above.