Skip to content

Commit

Permalink
Always inline buildInfo
Browse files Browse the repository at this point in the history
  • Loading branch information
JordanMartinez committed Nov 30, 2023
1 parent 8795e4a commit eec8cc3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Spago/BuildInfo.purs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,8 @@ writeBuildInfo = do
-- TODO: use tidy-codegen eventually
mkBuildInfo :: BuildInfo -> String
mkBuildInfo { packages, pursVersion } = String.joinWith "\n"
[ "module Spago.Generated.BuildInfo where"
[ "-- @inline export buildInfo always"
, "module Spago.Generated.BuildInfo where"
, ""
, "buildInfo :: { packages :: " <> recordType <> ", pursVersion :: String, spagoVersion :: String }"
, "buildInfo ="
Expand Down

0 comments on commit eec8cc3

Please sign in to comment.