From 0721b7cb0e9e680c3e2541b685b1ba7b9a80cb4b Mon Sep 17 00:00:00 2001 From: nea Date: Thu, 23 Jun 2022 23:17:58 +0200 Subject: Add support for the frege-intellij plugin This commit adds support for the frege intellij plugin by - exposing the frege compiler jar as a dependency, so the plugin can recognize the standard library. - adding the name 'fregeRun' as that is used by the plugin to run files - add support for overriding the main module executed by runFrege so that arbitary files can be run by the plugin --- example-project/src/main/frege/ch/fhnw/thga/Hello2.fr | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 example-project/src/main/frege/ch/fhnw/thga/Hello2.fr (limited to 'example-project/src') diff --git a/example-project/src/main/frege/ch/fhnw/thga/Hello2.fr b/example-project/src/main/frege/ch/fhnw/thga/Hello2.fr new file mode 100644 index 0000000..b7e6760 --- /dev/null +++ b/example-project/src/main/frege/ch/fhnw/thga/Hello2.fr @@ -0,0 +1,4 @@ +module ch.fhnw.thga.Hello2 where + +main args = do + putStrLn "Hello from File 2" -- cgit