git.iko.soy/rowtype-yoga/purescript-native
on golang help sign in
C++: rename pcc/include dir to pcc/runtime
1c2d616Andy Arvanitis
pcc/Make.hs+3−3
@@ -119,9 +119,9 @@ buildMakeActions outputDir filePathMap usePrefix =
119 let supportDir = outputDir </> "PureScript"
119 let supportDir = outputDir </> "PureScript"
120 supportFilesExist <- dirExists supportDir
120 supportFilesExist <- dirExists supportDir
121 when (not supportFilesExist) $ do
121 when (not supportFilesExist) $ do
122− writeTextFile (supportDir </> "PureScript.hh") $ B.unpack $(embedFile "pcc/include/purescript.hh")
122+ writeTextFile (supportDir </> "PureScript.hh") $ B.unpack $(embedFile "pcc/runtime/purescript.hh")
123− writeTextFile (supportDir </> "PureScript.cc") $ B.unpack $(embedFile "pcc/include/purescript.cc")
123+ writeTextFile (supportDir </> "PureScript.cc") $ B.unpack $(embedFile "pcc/runtime/purescript.cc")
124− writeTextFile (supportDir </> "purescript_memory.hh") $ B.unpack $(embedFile "pcc/include/purescript_memory.hh")
124+ writeTextFile (supportDir </> "purescript_memory.hh") $ B.unpack $(embedFile "pcc/runtime/purescript_memory.hh")
125
125
126 let inputPath = dropExtension $ getInputFile mn
126 let inputPath = dropExtension $ getInputFile mn
127 hfile = addExtension inputPath headerExt
127 hfile = addExtension inputPath headerExt
pcc/include/purescript.cc → pcc/runtime/purescript.ccrenamed

The content is the same.

pcc/include/purescript.hh → pcc/runtime/purescript.hhrenamed

The content is the same.

pcc/include/purescript_memory.hh → pcc/runtime/purescript_memory.hhrenamed

The content is the same.