Skip to content

Commit

Permalink
Fix due to smoke tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jonaprieto committed Oct 25, 2023
1 parent 90d6aca commit 1e34a2c
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
3 changes: 1 addition & 2 deletions app/Commands/Dev/Geb/Eval/Options.hs
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@ instance CanonicalProjection GebEvalOptions Geb.Options where

parseGebEvalOptions :: Parser GebEvalOptions
parseGebEvalOptions = do
_gebEvalOptionsInputFile <-
parseInputFiles (NonEmpty.fromList [FileExtJuvixGeb, FileExtJuvix])
_gebEvalOptionsInputFile <- parseInputFiles (NonEmpty.fromList [FileExtJuvixGeb, FileExtLisp])
_gebEvalOptionsOutputMorphism <- optOutputMorphism
pure GebEvalOptions {..}

Expand Down
3 changes: 1 addition & 2 deletions app/Commands/Dev/Geb/Infer/Options.hs
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,5 @@ instance CanonicalProjection GebInferOptions Geb.Options where

parseGebInferOptions :: Parser GebInferOptions
parseGebInferOptions = do
_gebInferOptionsInputFile <-
(parseInputFiles (NonEmpty.fromList [FileExtJuvixGeb, FileExtJuvix]))
_gebInferOptionsInputFile <- parseInputFiles (NonEmpty.fromList [FileExtJuvixGeb, FileExtLisp])
pure GebInferOptions {..}
2 changes: 1 addition & 1 deletion app/Commands/Dev/Geb/Read/Options.hs
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ instance CanonicalProjection GebReadOptions Geb.Options where
parseGebReadOptions :: Parser GebReadOptions
parseGebReadOptions = do
_gebReadOptionsInputFile <-
parseInputFiles (NonEmpty.fromList [FileExtJuvixGeb, FileExtJuvix])
parseInputFiles (NonEmpty.fromList [FileExtJuvixGeb, FileExtLisp])
pure GebReadOptions {..}
3 changes: 2 additions & 1 deletion src/Juvix/Extra/Paths.hs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ module Juvix.Extra.Paths
)
where

import Juvix.Data.FileExt
import Juvix.Extra.Paths.Base
import Juvix.Prelude.Base
import Juvix.Prelude.Path
Expand Down Expand Up @@ -40,4 +41,4 @@ formatStdinPath :: Path Abs File
formatStdinPath = $(mkAbsFile "/format-stdin")

gebReplPath :: Path Abs File
gebReplPath = $(mkAbsFile "/gebrepl")
gebReplPath = $(mkAbsFile ("/repl" <> juvixGebFileExt))

0 comments on commit 1e34a2c

Please sign in to comment.