file-command-qq 0.1.0.2 → 0.1.0.3
raw patch · 2 files changed
+8/−8 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- file-command-qq.cabal +6/−6
- src/FileCommand.hs +2/−2
file-command-qq.cabal view
@@ -2,17 +2,17 @@ -- documentation, see http://haskell.org/cabal/users-guide/ name: file-command-qq-version: 0.1.0.2+version: 0.1.0.3 synopsis: Quasiquoter for system commands involving filepaths description: file-command-qq is a simple quasiquoter for running system commands that take a filepath as an argument. . For instance . - >>> :set -XOverloadedStrings- >>> import FileCommand- >>> import Filesystem.Path- >>> [s|echo $filename|] "/home/test/thing.txt"+ >> :set -XOverloadedStrings+ >> import FileCommand+ >> import Filesystem.Path+ >> [s|echo $filename|] "/home/test/thing.txt" . . will return@@ -31,7 +31,7 @@ . Here is another example .- >>> [s|gcc $path -o $directory$basename.o|] "/home/test/thing.c"+ >> [s|gcc $path -o $directory$basename.o|] "/home/test/thing.c" . All "file parts" start with a \'$\'. The \'$\' can be escaped by preceding it with a \'\\\' .
src/FileCommand.hs view
@@ -103,7 +103,7 @@ -- | A simple quasiquoter for executing system commands on a filepath -- for example -- --- >>> [s|echo $filename|] "/home/test/thing.txt"+-- >> [s|echo $filename|] "/home/test/thing.txt" -- -- will return -- @@ -120,7 +120,7 @@ -- -- Here is another example -- --- >>> [s|gcc $path -o $directory$basename.o|] "/home/test/thing.c"+-- >> [s|gcc $path -o $directory$basename.o|] "/home/test/thing.c" -- -- All "file parts" start with a \'$\'. The \'$\' can be escaped by preceding it with a \'\\\' --