Skip to content
This repository has been archived by the owner on May 25, 2021. It is now read-only.

Commit

Permalink
Publish this package to Hex
Browse files Browse the repository at this point in the history
  • Loading branch information
ddeboer committed Jun 28, 2017
1 parent e9d041c commit 49615d7
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 16 deletions.
15 changes: 15 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -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
34 changes: 18 additions & 16 deletions src/bcrypt.app.src
Original file line number Diff line number Diff line change
@@ -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.