zeolite-lang 0.1.3.0 → 0.1.3.1
raw patch · 4 files changed
+5/−7 lines, 4 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- bin/zeolite-setup.hs +2/−4
- src/Cli/Compiler.hs +1/−1
- tests/multiple-defs/README.md +1/−1
- zeolite-lang.cabal +1/−1
bin/zeolite-setup.hs view
@@ -19,7 +19,6 @@ import Control.Monad (when) import System.Directory import System.Exit-import System.FilePath import System.IO import Cli.CompileOptions@@ -115,16 +114,15 @@ initLibraries :: IO () initLibraries = do path <- rootPath >>= canonicalizePath- let libraries' = map (path </>) libraries let options = CompileOptions { coHelp = HelpNotNeeded, coPublicDeps = [], coPrivateDeps = [],- coSources = libraries',+ coSources = libraries, coExtraFiles = [], coExtraPaths = [], coExtraRequires = [],- coSourcePrefix = "",+ coSourcePrefix = path, coMode = CompileRecompile, coOutputName = "", coForce = ForceAll
src/Cli/Compiler.hs view
@@ -122,7 +122,7 @@ let (RecompileMetadata p2 d is is2 es ep ec m o) = rm' -- In case the module is manually configured with a p such as "..", -- since the absolute path might not be known ahead of time.- absolute <- canonicalizePath d0+ absolute <- canonicalizePath (p </> d0) let fixed = fixPath (absolute </> p2) let recompile = CompileOptions { coHelp = h,
tests/multiple-defs/README.md view
@@ -8,7 +8,7 @@ ```shell ZEOLITE_PATH=$(zeolite --get-path)-zeolite -r $ZEOLITE_PATH/tests/multiple-defs+zeolite -p $ZEOLITE_PATH -r tests/multiple-defs ``` The compiler error should look something like this:
zeolite-lang.cabal view
@@ -1,7 +1,7 @@ cabal-version: 2.2 name: zeolite-lang-version: 0.1.3.0+version: 0.1.3.1 synopsis: Zeolite is a statically-typed, general-purpose programming language. description: