1
1
mirror of https://github.com/github/semantic.git synced 2024-11-24 00:42:33 +03:00

Rename runUpdateGitRemote -> runPushGitRemote

This commit is contained in:
Rick Winfrey 2016-10-10 12:38:46 -05:00
parent d4818deb1e
commit c5deaa384e

View File

@ -55,8 +55,8 @@ runGenerator :: GeneratorArgs -> JSONMetaRepo -> IO ()
runGenerator opts metaRepo@JSONMetaRepo{..} = do
runSetupGitRepo metaRepo
runCommitsAndTestCasesGeneration opts metaRepo
runUpdateGitRemote repoPath
runPullGitRemote repoUrl repoPath
runPushGitRemote repoPath
-- | Upon successful test case generation for a generator file, move the file to the generated directory.
-- | This prevents subsequence runs of the test generator from duplicating test cases and adding extraneous
@ -233,8 +233,8 @@ runPullGitRemote repoUrl repoPath = do
Prelude.putStrLn "Attempting to continue without pulling from the remote repository.\n"
-- | Pushes git commits to the submodule repository's remote.
runUpdateGitRemote :: FilePath -> IO ()
runUpdateGitRemote repoPath = do
runPushGitRemote :: FilePath -> IO ()
runPushGitRemote repoPath = do
Prelude.putStrLn "Updating git remote."
_ <- executeCommand repoPath pushToGitRemoteCommand
Prelude.putStrLn "Successfully updated git remote."