summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Propellor/Wrapper.hs (renamed from src/wrapper.hs)9
l---------src/propellor-config.hs1
2 files changed, 5 insertions, 5 deletions
diff --git a/src/wrapper.hs b/src/Propellor/Wrapper.hs
index 20b4d8c6..f399b2cf 100644
--- a/src/wrapper.hs
+++ b/src/Propellor/Wrapper.hs
@@ -1,4 +1,5 @@
--- | Wrapper program for propellor distribution.
+-- | This module is used to implement a wrapper program for propellor
+-- distribution.
--
-- Distributions should install this program into PATH.
-- (Cabal builds it as dist/build/propellor/propellor).
@@ -10,7 +11,7 @@
-- If ./config.hs exists and looks like a propellor config file,
-- it instead builds and runs in the current working directory.
-module Main where
+module Propellor.Wrapper (runWrapper) where
import Propellor.DotDir
import Propellor.Message
@@ -30,8 +31,8 @@ import Control.Monad.IfElse
import Control.Applicative
import Prelude
-main :: IO ()
-main = withConcurrentOutput $ do
+runWrapper :: IO ()
+runWrapper = withConcurrentOutput $ do
useFileSystemEncoding
go =<< getArgs
where
diff --git a/src/propellor-config.hs b/src/propellor-config.hs
deleted file mode 120000
index e3af968e..00000000
--- a/src/propellor-config.hs
+++ /dev/null
@@ -1 +0,0 @@
-../config.hs \ No newline at end of file