aboutsummaryrefslogblamecommitdiffstats
path: root/rebar.config
blob: fce0a5367264963f0a4c9bee227af41638942fd2 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                             
                                                                                
                                    

                             
                             
          
 
                                                  

                                               
                                                   
 

                                                                                
                                                    
                   

                        
 

                                                                                
                                             
 




                                                                                                   
                     
 










                                                                                                      


                                                               


                                                                
 


                                         
%% -*- mode: Erlang; fill-column: 80; comment-column: 75; -*-
%% Dependencies ================================================================
{deps, [{erlware_commons, "0.15.0"},
        {providers, "1.4.1"},
        {getopt, "0.8.2"},
        {bbmustache, "1.0.3"}
       ]}.

{escript_incl_extra, [{"priv/templates/*", "."}]}.
{escript_emu_args, "%%! +sbtu +A0 -noinput\n"}.
{escript_incl_apps,
 [getopt, erlware_commons, bbmustache, providers]}.

%% Compiler Options ============================================================
{erl_opts,
    [{platform_define, "^[0-9]+", namespaced_types},
     no_debug_info,
     warnings_as_errors,
     inline]}.

%% EUnit =======================================================================
{eunit_opts,
 [{report, {eunit_surefire, [{dir, "."}]}}]}.

%% Profiles ====================================================================

{profiles, [{dev, [{deps, [{neotoma, ".*",
                            {git, "https://github.com/seancribbs/neotoma.git", {branch, "master"}}}
                          ]}
                  ]},

            {test, [{erl_opts, [debug_info]}]}
           ]}.

{overrides, [{override, erlware_commons, [
                                         {erl_opts, [{platform_define, "^[0-9]+", namespaced_types},
                                                     {platform_define, "^R1[4|5]", deprecated_crypto},
                                                     no_debug_info,
                                                     warnings_as_errors
                                                    ]},
                                         {deps, []}, {plugins, []}
                                         ]},
            {override, bbmustache, [
                                   {erl_opts, [no_debug_info]},
                                   {deps, []}, {plugins, []}]},
            {override, getopt, [{erl_opts, [no_debug_info]}]},
            {override, providers, [{erl_opts, [no_debug_info]}]}
            ]}.

{ct_opts, [{cover_spec, "cover.spec"},
           {cover_enabled, true},
           {cover_print_enabled, true}]}.