about summary refs log tree commit diff
path: root/third_party/bazel/rules_haskell/tests/extra-source-files/FooTH.hs
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/bazel/rules_haskell/tests/extra-source-files/FooTH.hs')
-rw-r--r--third_party/bazel/rules_haskell/tests/extra-source-files/FooTH.hs12
1 files changed, 0 insertions, 12 deletions
diff --git a/third_party/bazel/rules_haskell/tests/extra-source-files/FooTH.hs b/third_party/bazel/rules_haskell/tests/extra-source-files/FooTH.hs
deleted file mode 100644
index 24d663108355..000000000000
--- a/third_party/bazel/rules_haskell/tests/extra-source-files/FooTH.hs
+++ /dev/null
@@ -1,12 +0,0 @@
-{-# LANGUAGE TemplateHaskell #-}
-
-module FooTH (embedFile) where
-
-import Language.Haskell.TH
-import Language.Haskell.TH.Syntax
-
-embedFile :: FilePath -> Q Exp
-embedFile path = do
-  str <- runIO (readFile path)
-  addDependentFile path
-  [| str |]