39 lines
437 B
Markdown
39 lines
437 B
Markdown
# passwdgen
|
|
### a rudimentary random string password generator
|
|
|
|
For demo purposes only
|
|
|
|
## Build
|
|
|
|
**Bare Bones**
|
|
```bash
|
|
mkdir build
|
|
g++ -o build/passwdgen ./passwdgen.cpp
|
|
```
|
|
|
|
**From CMAKE**
|
|
```bash
|
|
mkdir build
|
|
cd build
|
|
cmake ..
|
|
make
|
|
```
|
|
|
|
Then, just copy the compiled binary to somewhere on your $PATH
|
|
|
|
## Testing
|
|
|
|
To run the tests:
|
|
```bash
|
|
mkdir build
|
|
cd build
|
|
cmake ..
|
|
make
|
|
ctest
|
|
```
|
|
|
|
or directly:
|
|
```bash
|
|
./tests/passwdgen_test
|
|
```
|