summaryrefslogtreecommitdiff
path: root/version.erl
blob: 6e3c37e4ee1ed44b5f375d6f52649e54a626922f (plain)
1
2
3
4
5
6
7
8
#!/usr/bin/env escript
%% -*- erlang -*-

main(_) ->
    case file:consult("ebin/catlfish.app") of
        {ok, [{application, catlfish, PropList}]} ->
            io:format("~s~n", [proplists:get_value(vsn, PropList)])
    end.