From 8c987f0a58470953dc3ac1b9cdff1ac55aaa4e81 Mon Sep 17 00:00:00 2001 From: Thibault Gagnaux Date: Wed, 17 Nov 2021 09:50:12 +0100 Subject: feat: Adds incremental build and build cache support for the `fregeCompile` task --- README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index db18bea..e7a9588 100644 --- a/README.md +++ b/README.md @@ -30,15 +30,16 @@ Optional configuration parameters inside `build.gradle`: - outputDir: defaults to `/build/classes/main/frege` - compilerFlags: defaults to `['-O', '-make']` - - - ### Added Tasks - **setupFrege**: Downloads the specified version of the Frege compiler. - **compileFrege**: All your `*.fr` files in `mainSourceDir` get compiled to `outputDir`. - **runFrege**: Runs the Frege module specified by `mainModule`. Alternatively you can also pass the main module by command line, e.g: `gradle runFrege --mainModule=my.mod.Name`. +### Build Cache + +The `compileFrege` task supports incremental builds from build cache. Enable the build cache by setting `org.gradle.caching=true` in your `gradle.properites`. + ## How to Contribute Try to add another task, e.g. `fregeDoc` to the [FregePluginFunctionalTest.java](src/functionalTest/java/ch/fhnw/thga/gradleplugins/FregePluginFunctionalTest.java) file and try to make the test pass. \ No newline at end of file -- cgit