summaryrefslogtreecommitdiff
path: root/inttest/erlc/src
diff options
context:
space:
mode:
authorTristan Sloughter <t@crashfast.com>2014-08-30 22:14:48 -0500
committerTristan Sloughter <t@crashfast.com>2014-08-30 22:16:30 -0500
commit21f47438614a0d50caf20801c4440d54d12c3f20 (patch)
tree054cda8b6a40d577b77d950bce898755f81962b7 /inttest/erlc/src
parentac0d726bb8c21eca3b883f7c47e42cdea02b5a3f (diff)
remove more code that can be brought back later if needed
Diffstat (limited to 'inttest/erlc/src')
-rw-r--r--inttest/erlc/src/._do_not_compile.erl4
-rw-r--r--inttest/erlc/src/behaviour/foo_worker.erl14
-rw-r--r--inttest/erlc/src/first_erl.erl10
-rw-r--r--inttest/erlc/src/first_xrl.xrl13
-rw-r--r--inttest/erlc/src/first_yrl.yrl9
-rw-r--r--inttest/erlc/src/foo.erl35
-rw-r--r--inttest/erlc/src/foo_app.erl10
-rw-r--r--inttest/erlc/src/foo_test_worker.erl34
8 files changed, 0 insertions, 129 deletions
diff --git a/inttest/erlc/src/._do_not_compile.erl b/inttest/erlc/src/._do_not_compile.erl
deleted file mode 100644
index c9d743b..0000000
--- a/inttest/erlc/src/._do_not_compile.erl
+++ /dev/null
@@ -1,4 +0,0 @@
-syntax error
-this is file is here to verify that rebar does not try to
-compile files like OS X resource forks and should not be
-processed at all
diff --git a/inttest/erlc/src/behaviour/foo_worker.erl b/inttest/erlc/src/behaviour/foo_worker.erl
deleted file mode 100644
index 307c69a..0000000
--- a/inttest/erlc/src/behaviour/foo_worker.erl
+++ /dev/null
@@ -1,14 +0,0 @@
--module(foo_worker).
-
--ifdef(NO_CALLBACK_ATTRIBUTE).
-
--export([behaviour_info/1]).
-
-behaviour_info(callbacks) -> [{status, 0}];
-behaviour_info(_) -> undefined.
-
--else.
-
--callback status() -> 'idle' | 'busy'.
-
--endif.
diff --git a/inttest/erlc/src/first_erl.erl b/inttest/erlc/src/first_erl.erl
deleted file mode 100644
index 4e9ff20..0000000
--- a/inttest/erlc/src/first_erl.erl
+++ /dev/null
@@ -1,10 +0,0 @@
-%% -*- mode: erlang;erlang-indent-level: 4;indent-tabs-mode: nil -*-
-%% ex: ts=4 sw=4 ft=erlang et
--module(first_erl).
-
--include_lib("eunit/include/eunit.hrl").
-
--export([test/0]).
-
-test() ->
- ?debugHere.
diff --git a/inttest/erlc/src/first_xrl.xrl b/inttest/erlc/src/first_xrl.xrl
deleted file mode 100644
index 0de4c70..0000000
--- a/inttest/erlc/src/first_xrl.xrl
+++ /dev/null
@@ -1,13 +0,0 @@
-Definitions.
-
-D = [0-9]
-
-Rules.
-
-{D}+ :
- {token,{integer,TokenLine,list_to_integer(TokenChars)}}.
-
-{D}+\.{D}+((E|e)(\+|\-)?{D}+)? :
- {token,{float,TokenLine,list_to_float(TokenChars)}}.
-
-Erlang code.
diff --git a/inttest/erlc/src/first_yrl.yrl b/inttest/erlc/src/first_yrl.yrl
deleted file mode 100644
index 8ccdb0e..0000000
--- a/inttest/erlc/src/first_yrl.yrl
+++ /dev/null
@@ -1,9 +0,0 @@
-Nonterminals list elements element.
-Terminals atom '(' ')'.
-Rootsymbol list.
-list -> '(' ')'.
-list -> '(' elements ')'.
-elements -> element.
-elements -> element elements.
-element -> atom.
-element -> list.
diff --git a/inttest/erlc/src/foo.erl b/inttest/erlc/src/foo.erl
deleted file mode 100644
index 33e6cfc..0000000
--- a/inttest/erlc/src/foo.erl
+++ /dev/null
@@ -1,35 +0,0 @@
--module(foo).
-
--export([start_link/0,
- start_link/1,
- init/1,
- terminate/2,
- handle_info/2,
- handle_call/3,
- handle_cast/2,
- code_change/3]).
-
--behavior(gen_server).
-
--include("foo_core.hrl").
--include("foo_extra.hrl").
--include_lib("kernel/include/file.hrl").
-
--record(state, {node :: node()}).
-
-start_link() -> start_link(undefined).
-
-start_link(Args) ->
- gen_server:start_link({local, ?MODULE}, ?MODULE, Args, []).
-
-init(_Args) -> {ok, #state{node=node()}}.
-
-terminate(_Reason, _Data) -> ok.
-
-handle_info(_Info, State) -> {noreply, State}.
-
-handle_cast(_Msg, State) -> {noreply, State}.
-
-handle_call(_Msg, _From, State) -> {reply, ok, State}.
-
-code_change(_OldVsn, State, _Extra) -> {ok, State}.
diff --git a/inttest/erlc/src/foo_app.erl b/inttest/erlc/src/foo_app.erl
deleted file mode 100644
index a3c7a96..0000000
--- a/inttest/erlc/src/foo_app.erl
+++ /dev/null
@@ -1,10 +0,0 @@
--module(foo_app).
-
--behaviour(application).
-
--export([start/2,
- stop/1]).
-
-start(_Type, _Args) -> foo_sup:start_link().
-
-stop(_State) -> ok.
diff --git a/inttest/erlc/src/foo_test_worker.erl b/inttest/erlc/src/foo_test_worker.erl
deleted file mode 100644
index 96ae932..0000000
--- a/inttest/erlc/src/foo_test_worker.erl
+++ /dev/null
@@ -1,34 +0,0 @@
--module(foo_test_worker).
-
--behaviour(gen_server).
--behaviour(foo_worker).
-
--export([start_link/0,
- start_link/1,
- init/1,
- handle_call/3,
- handle_cast/2,
- handle_info/2,
- terminate/2,
- code_change/3,
- status/0]).
-
--include_lib("kernel/include/inet.hrl").
-
-start_link() -> start_link(undefined).
-
-start_link(Args) -> gen_server:start_link(?MODULE, Args, []).
-
-init([]) -> {ok, undefined}.
-
-handle_call(_Event, _From, State) -> {reply, ok, State}.
-
-handle_cast(_Event, State) -> {noreply, State}.
-
-handle_info(_Info, State) -> {noreply, State}.
-
-terminate(_Reason, _State) -> ok.
-
-code_change(_OldVsn, State, _Extra) -> {ok, State}.
-
-status() -> busy.