Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Ready repository for corification.

  • Loading branch information...
commit 9bcbf4d852723918e20d7b6a809120f1ec08452a 1 parent ba1b990
Jesper Louis Andersen jlouis authored
Showing with 0 additions and 91 deletions.
  1. +0 −37 Makefile
  2. +0 −54 sys.config
37 Makefile
View
@@ -18,40 +18,3 @@ compile:
clean:
rebar clean
-console:
- erl -config sys.config -pa deps/*/ebin ebin
-
-
-APPS = kernel stdlib sasl erts ssl tools os_mon runtime_tools crypto inets \
- xmerl webtool snmp public_key mnesia eunit syntax_tools compiler
-COMBO_PLT = $(HOME)/.$(REPO)_combo_dialyzer_plt
-
-check_plt: compile
- dialyzer --check_plt --plt $(COMBO_PLT) --apps $(APPS) \
- deps/*/ebin
-
-build_plt: compile
- dialyzer --build_plt --output_plt $(COMBO_PLT) --apps $(APPS) \
- deps/*/ebin
-
-dialyzer: compile
- @echo
- @echo Use "'make check_plt'" to check PLT prior to using this target.
- @echo Use "'make build_plt'" to build PLT prior to using this target.
- @echo
- @sleep 1
- dialyzer -Wno_return --plt $(COMBO_PLT) ebin | \
- fgrep -v -f ./dialyzer.ignore-warnings
-
-cleanplt:
- @echo
- @echo "Are you sure? It takes about 1/2 hour to re-build."
- @echo Deleting $(COMBO_PLT) in 5 seconds.
- @echo
- sleep 5
- rm $(COMBO_PLT)
-
-
-
-
-
54 sys.config
View
@@ -1,54 +0,0 @@
-[{pony_core,
- [{host, "localhost"}]},
- {lager, [
- %% What handlers to install with what arguments
- %% The defaults for the logfiles are to rotate the files when
- %% they reach 10Mb or at midnight, whichever comes first, and keep
- %% the last 5 rotations. See the lager README for a description of
- %% the time rotation format:
- %% https://github.com/basho/lager/blob/master/README.org
- %%
- %% If you wish to disable rotation, you can either set the size to 0
- %% and the rotation time to "", or instead specify a 2-tuple that only
- %% consists of {Logfile, Level}.
- {handlers, [
- {lager_console_backend, debug},
- {lager_file_backend,
- [
- {"./log/debug.log", debug, 10485760, "$D0", 25},
- {"./log/error.log", error, 10485760, "$D0", 5},
- {"./log/console.log", info, 10485760, "$D0", 5}
- ]}
- ]},
-
- %% Whether to write a crash log, and where.
- %% Commented/omitted/undefined means no crash logger.
- {crash_log, "./log/crash.log"},
-
- %% Maximum size in bytes of events in the crash log - defaults to 65536
- {crash_log_msg_size, 65536},
-
- %% Maximum size of the crash log in bytes, before its rotated, set
- %% to 0 to disable rotation - default is 0
- {crash_log_size, 10485760},
-
- %% What time to rotate the crash log - default is no time
- %% rotation. See the lager README for a description of this format:
- %% https://github.com/basho/lager/blob/master/README.org
- {crash_log_date, "$D0"},
-
- %% Number of rotated crash logs to keep, 0 means keep only the
- %% current one - default is 0
- {crash_log_count, 5},
-
- %% Whether to redirect error_logger messages into lager - defaults to true
- {error_logger_redirect, true}
- ]},
- {sasl, [
- {sasl_error_logger, {file, "log/sasl-error.log"}},
- {errlog_type, error},
- {error_logger_mf_dir, "log/sasl"}, % Log directory
- {error_logger_mf_maxbytes, 10485760}, % 10 MB max file size
- {error_logger_mf_maxfiles, 5} % 5 files max
- ]}
-].
Please sign in to comment.
Something went wrong with that request. Please try again.