diff options
author | Joey Hess <joey@kitenet.net> | 2013-12-06 19:07:18 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2013-12-06 19:07:18 -0400 |
commit | 26ef5f228bb238dddfd379114013db039a465164 (patch) | |
tree | a6617daf70665e26b8e71bdfd2121082fc9c3f25 /doc | |
parent | caae4cc56df869836275a4a800d8536a01217be8 (diff) |
devblog
Diffstat (limited to 'doc')
-rw-r--r-- | doc/devblog/day_73__EvilLinker.mdwn | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/doc/devblog/day_73__EvilLinker.mdwn b/doc/devblog/day_73__EvilLinker.mdwn new file mode 100644 index 000000000..68aa5d065 --- /dev/null +++ b/doc/devblog/day_73__EvilLinker.mdwn @@ -0,0 +1,28 @@ +Android has the EvilSplicer, now Windows gets the EvilLinker. Fully +automated, and truly horrible solution to the too long command line problem. + +Now when I run `git annex webapp` on windows, it almost manages to open +the web browser. + +At the same time, I worked with Yuri to upgrade the Windows autobuilder to a +newer Haskell platform, which can install Yesod. I have not quite achieved +a successful webapp build on the autobuilder, but it seems close. + +---- + +Here's a nice Haskell exercise for someone. I wrote this quick and dirty +function in the EvilSplicer, but it's crying out for a generalized solution. + +[[!format haskell """ +{- Input contains something like + - c:/program files/haskell platform/foo -LC:/Program Files/Haskell Platform/ -L... + - and the *right* spaces must be escaped with \ + - + - Argh. + -} +escapeDosPaths :: String -> String +escapeDosPaths = replace "Program Files" "Program\\ Files" + . replace "program files" "program\\ files" + . replace "Haskell Platform" "Haskell\\ Platform" + . replace "haskell platform" "haskell\\ platform" +"""]] |