Add -r deprecation warning to psc-bundle
commit55731aaab7ffb675c1c55b2524e96f62ffd7f154
authorNicholas Wolverson <nicholas.wolverson@gmail.com>
dateMon 14 Mar 2016, 23:31 (11 years ago)
parent8735fb0
psc-bundle/Main.hs+1
@@ -125,6 +125,7 @@ options = Options <$> some inputFile
125125main :: IO ()
126126main = do
127127 opts <- execParser (info (version <*> helper <*> options) infoModList)
128+ when (optionsRequirePath opts /= Nothing) $ hPutStrLn stderr "The require-path option is deprecated and will be removed in PureScript 0.9."
128129 output <- runExceptT (app opts)
129130 case output of
130131 Left err -> do