Skip to content

Commit

Permalink
doc: Modify documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
CristhianMotoche committed Jan 15, 2024
1 parent a8f6340 commit 84661ed
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
1 change: 0 additions & 1 deletion src/System/Hapistrano.hs
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,6 @@ playScriptLocally cmds =

-- | Create a file with an initial config file by getting information from the
-- user.

initConfig :: IO String -> IO ()
initConfig getLine' = do
configFilePath <- (FilePath.</> "hap.yml") <$> Directory.getCurrentDirectory
Expand Down
9 changes: 5 additions & 4 deletions src/System/Hapistrano/Config.hs
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,13 @@ import Data.Aeson.Types (typeMismatch)
import Data.Function (on)
import Data.List (nubBy)
import Data.Maybe (maybeToList)
import Data.Yaml
import Data.Proxy
import Data.Yaml
import Numeric.Natural
import Path
import System.Hapistrano.Commands
import System.Hapistrano.Types (ReleaseFormat(..), Shell(..),
Source(..), TargetSystem(..))
import System.Hapistrano.Types (ReleaseFormat (..), Shell (..),
Source (..), TargetSystem (..))

-- | Hapistrano configuration typically loaded from @hap.yaml@ file.

Expand Down Expand Up @@ -110,7 +110,8 @@ data BuildCommand = BuildCommand
, buildCommandExecutionMode :: ExecutionMode
} deriving (Eq, Ord, Show)

-- | Execute either on Lead or All targets.
-- | The execution mode determines whether commands will be executed
-- on the lead target or on all targets.
data ExecutionMode = LeadTarget | AllTargets
deriving (Eq, Ord, Show)

Expand Down

0 comments on commit 84661ed

Please sign in to comment.