git.iko.soy/rowtype-yoga/purescript-native
on golang help sign in
C++: clean up pcc source dir
f54eeb3Andy Arvanitis
pcc/Makefile.hs+3−3
@@ -28,7 +28,7 @@ generateMakefile :: IO ()
28generateMakefile = do
28generateMakefile = do
29 makefileExists <- doesFileExist makefilename
29 makefileExists <- doesFileExist makefilename
30 when (not makefileExists) $ do
30 when (not makefileExists) $ do
31− let makefile = $(embedFile "pcc/Makefile")
31+ let makefile = $(embedFile "pcc/support/Makefile")
32 exePath <- getExecutablePath
32 exePath <- getExecutablePath
33 putStrLn ""
33 putStrLn ""
34 putStrLn $ "Generating " ++ makefilename ++ "... " ++ "pcc executable location " ++ exePath
34 putStrLn $ "Generating " ++ makefilename ++ "... " ++ "pcc executable location " ++ exePath
@@ -50,7 +50,7 @@ generatePackagefile :: IO ()
50generatePackagefile = do
50generatePackagefile = do
51 pkgfileExists <- doesFileExist packagefilename
51 pkgfileExists <- doesFileExist packagefilename
52 when (not pkgfileExists) $ do
52 when (not pkgfileExists) $ do
53− let pkgfile = $(embedFile "pcc/psc-package.json")
53+ let pkgfile = $(embedFile "pcc/support/psc-package.json")
54 putStrLn ""
54 putStrLn ""
55 putStrLn $ "Generating " ++ packagefilename ++ "..."
55 putStrLn $ "Generating " ++ packagefilename ++ "..."
56 writeFile packagefilename $ B.unpack pkgfile
56 writeFile packagefilename $ B.unpack pkgfile
@@ -61,7 +61,7 @@ generateXcodefile :: IO ()
61generateXcodefile = do
61generateXcodefile = do
62 xcodefileExists <- doesFileExist xcodefilename
62 xcodefileExists <- doesFileExist xcodefilename
63 when (not xcodefileExists) $ do
63 when (not xcodefileExists) $ do
64− let xcodefile = $(embedFile "pcc/psc-xcode.sh")
64+ let xcodefile = $(embedFile "pcc/support/psc-xcode.sh")
65 putStrLn ""
65 putStrLn ""
66 putStrLn $ "Generating " ++ xcodefilename ++ "..."
66 putStrLn $ "Generating " ++ xcodefilename ++ "..."
67 writeFile xcodefilename $ B.unpack xcodefile
67 writeFile xcodefilename $ B.unpack xcodefile
pcc/Makefile → pcc/support/Makefilerenamed

The content is the same.

pcc/psc-package.json → pcc/support/psc-package.jsonrenamed

The content is the same.

pcc/psc-xcode.sh → pcc/support/psc-xcode.shrenamed

The content is the same.

purescript.cabal+2−2
@@ -97,8 +97,8 @@ extra-source-files: examples/passing/*.purs
97 , INSTALL.md
97 , INSTALL.md
98 , CONTRIBUTORS.md
98 , CONTRIBUTORS.md
99 , CONTRIBUTING.md
99 , CONTRIBUTING.md
100− , pcc/runtime/*.hh
100+ , pcc/runtime/*
101− , pcc/runtime/*.cc
101+ , pcc/support/*
102
102
103source-repository head
103source-repository head
104 type: git
104 type: git