Skip to content

Commit 94d4819

Browse files
committed
Initialize .purs-repl file.
Fixes #259
1 parent 4e3fc1f commit 94d4819

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/Pulp/Init.purs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,11 @@ gitignore = unlines [
3838
"/.psa*"
3939
]
4040

41+
pursReplFile :: String
42+
pursReplFile = unlines [
43+
"import Prelude"
44+
]
45+
4146
mainFile :: String
4247
mainFile = unlines [
4348
"module Main where",
@@ -68,6 +73,7 @@ projectFiles :: String -> String -> Array { path :: String, content :: String }
6873
projectFiles pathRoot projectName =
6974
[ { path: fullPath ["bower.json"], content: bowerFile projectName }
7075
, { path: fullPath [".gitignore"], content: gitignore }
76+
, { path: fullPath [".purs-repl"], content: pursReplFile }
7177
, { path: fullPath ["src", "Main.purs"], content: mainFile }
7278
, { path: fullPath ["test", "Main.purs"], content: testFile }
7379
]

0 commit comments

Comments
 (0)