Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
Publish this package to Hex
  • Loading branch information
ddeboer committed Jun 28, 2017
1 parent e9d041c commit 49615d70bdae3534bfac4d8a51a35d71de101a37
Showing 2 changed files with 33 additions and 16 deletions.
@@ -1,2 +1,17 @@
language: erlang
sudo: false
otp_release:
- 19.3

jobs:
include:
- stage: deploy
otp_release: 19.3
script: skip
deploy:
provider: script
script: "bash -c 'source <(curl -s https://raw.githubusercontent.com/zotonic/hexpub/master/hexpub.sh)'"
skip_cleanup: true
on:
tags: true
all_branches: true
@@ -1,19 +1,21 @@
%% -*- mode: erlang;erlang-indent-level: 2;indent-tabs-mode: nil -*-
{application, bcrypt,
[{description, "An Erlang wrapper (NIF or port program) for the OpenBSD password scheme, bcrypt."},
{vsn, git},
{registered, [bcrypt_sup, bcrypt_nif_worker, bcrypt_port_sup, bcrypt_pool]},
{mod, {bcrypt_app, []}},
{applications, [kernel, stdlib, crypto]},
{env, [
% Default number of 'rounds', defining the hashing complexity
{default_log_rounds, 12},
{application, bcrypt, [
{description, "An Erlang wrapper (NIF or port program) for the OpenBSD password scheme, bcrypt."},
{vsn, "git"},
{registered, [bcrypt_sup, bcrypt_nif_worker, bcrypt_port_sup, bcrypt_pool]},
{mod, {bcrypt_app, []}},
{applications, [kernel, stdlib, crypto]},
{env, [
% Default number of 'rounds', defining the hashing complexity
{default_log_rounds, 12},

% Mechanism to use 'nif' or 'port'
{mechanism, nif},
% Mechanism to use 'nif' or 'port'
{mechanism, nif},

% Size of port program pool
{pool_size, 4}
]}
]
}.
% Size of port program pool
{pool_size, 4}
]},
{maintainers, ["Hunter Morris", "Mrinal Wadhwa", "ErlangPack"]},
{licenses, ["MIT"]},
{links, [{"Github", "https://github.com/smarkets/erlang-bcrypt"}]}
]}.

0 comments on commit 49615d7

Please sign in to comment.