Permalink
Browse files

Add alphanum formula

  • Loading branch information...
nickolasburr committed Dec 1, 2017
1 parent 4f8dddd commit fb6b799ba80a93e2b4cd48a4f9a52da91b6d99da
Showing with 16 additions and 0 deletions.
  1. +1 −0 README.md
  2. +15 −0 alphanum.rb
@@ -11,6 +11,7 @@ brew install <package>

## Packages

+ alphanum - Generate pseudo-random alphanumeric string of n characters.
+ [battery](https://github.com/nickolasburr/battery) - macOS utility for analyzing battery properties.
+ [darwin-free](https://github.com/dcantrell/darwin-free) - Command line memory status tool for MacOS X, similar to [free(1)](https://linux.die.net/man/1/free) on Linux.
+ darwin-mountpoint - Linux [mountpoint(1)](https://linux.die.net/man/1/mountpoint), ported to Darwin.
@@ -0,0 +1,15 @@
class Alphanum < Formula
desc "Generate pseudo-random alphanumeric string of n characters."
homepage "https://github.com/nickolasburr/homebrew-pfa"
url "https://gist.githubusercontent.com/nickolasburr/f12148ad7d37d2f54816620a3ad19c7c/raw/be948f98e24f7a4509f9eaa7e9ad1ed18298b27b/alphanum"
sha256 "8e00ab587f11d505b7f43806347ec5f54c2f37bf0a751369f220069b5f0db1f4"
version "1.0.0"

def install
bin.install "alphanum"
end

test do
system "alphanum", "15"
end
end

0 comments on commit fb6b799

Please sign in to comment.