Permalink
Browse files

codegen issue on case-insensitive MacOSX (thanks jekor!)

  • Loading branch information...
1 parent c112328 commit 57bc67ecad0ca64e4a501f2729c1fc1b0c78001c @dancor dancor committed Oct 8, 2009
Showing with 4 additions and 4 deletions.
  1. +1 −1 README
  2. +2 −2 install
  3. +1 −1 src/{codegen → do-codegen}
View
@@ -18,7 +18,7 @@ to use
changes work
- to write a new transformer
- see src/Transf/ for examples
- - src/codegen (which is run by ./install) automatically detects new
+ - src/do-codegen (which is run by ./install) automatically detects new
transformers in src/Transf/
- if you are using git you may want to use a separate repo instead of just a
branch in an existing repo. files have mtime updated by branch-switching,
View
@@ -1,8 +1,8 @@
#!/bin/sh
set -e
-echo 'Running codegen...'
+echo 'Detecting transformers...'
cd src
-./codegen
+./do-codegen
cd ..
cabal install --enable-optimization=2 --global --root-cmd=sudo
sudo cp src/php_lex_stdin /usr/local/bin
@@ -11,7 +11,7 @@ import System.Directory
doDir :: FilePath -> IO ([String], [String])
doDir dir = do
- files <- map (reversify $ drop 3) . filter (".hs" `isSuffixOf`) <$>
+ files <- map (reversify $ drop 3) . filter (".hs" `isSuffixOf`) <$>
getDirectoryContents dir
return (
map (\ f -> "import qualified " ++ dir ++ "." ++ f) files,

0 comments on commit 57bc67e

Please sign in to comment.