summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordberg.se>2014-05-03 10:54:55 +0200
committerLinus Nordberg <linus@nordberg.se>2014-05-03 10:54:55 +0200
commit68f6bdf0f88322867b35a6ae35a0c4c3ea641884 (patch)
treee11fbf5a349086bbed407f2020219a5d5c679820 /src
parent7725f46cd64c5a405ffed6177019383ffe18dd8e (diff)
Rename to ctls.
Diffstat (limited to 'src')
-rw-r--r--src/.erlang4
-rw-r--r--src/Makefile2
-rwxr-xr-xsrc/catlfish5
-rwxr-xr-xsrc/ctls5
-rw-r--r--src/ctls.erl (renamed from src/catlfish.erl)6
5 files changed, 11 insertions, 11 deletions
diff --git a/src/.erlang b/src/.erlang
index 406b099..b0147e0 100644
--- a/src/.erlang
+++ b/src/.erlang
@@ -1,5 +1,5 @@
-%% Erlang init file for catlfish (in Emacs -*- erlang -*- mode)
-%%io:format("Inititaing for catlfish~n").
+%% Erlang init file for ctls (in Emacs -*- erlang -*- mode)
+%%io:format("Inititaing for ctls~n").
code:add_pathz("https").
code:add_pathz("merkletree").
code:add_pathz("x509").
diff --git a/src/Makefile b/src/Makefile
index 9650e25..62548f6 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -1,6 +1,6 @@
## TODO: Consider using 'rebar' instead of Make.
-MODULES = catlfish
+MODULES = ctls
all: subdirs $(MODULES:%=%.beam)
diff --git a/src/catlfish b/src/catlfish
deleted file mode 100755
index 72102d5..0000000
--- a/src/catlfish
+++ /dev/null
@@ -1,5 +0,0 @@
-#! /usr/bin/env escript
-
-main(_) ->
- io:format("Hello catlfish!\n"),
- catlfish:start().
diff --git a/src/ctls b/src/ctls
new file mode 100755
index 0000000..c3169b8
--- /dev/null
+++ b/src/ctls
@@ -0,0 +1,5 @@
+#! /usr/bin/env escript
+
+main(_) ->
+ io:format("Hello ctls!\n"),
+ ctls:start().
diff --git a/src/catlfish.erl b/src/ctls.erl
index a8c5a86..9c4c9b4 100644
--- a/src/catlfish.erl
+++ b/src/ctls.erl
@@ -2,11 +2,11 @@
%% In order to find https_server and other required modules, a couple
%% of subdirectories need to be added to the Erlang path
-%% (code:add_pathz/1). This can be done through an ~/.erlang file.
+%% (code:add_pathz/1). This can be done in an ~/.erlang file.
--module('catlfish').
+-module('ctls').
-export([start/0]).
start() ->
- io:format("Starting catlfish~n"),
+ io:format("Starting ctls~n"),
https_server:start().