| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2022-02-23 | feat: simplifies the replFrege task | Thibault Gagnaux | |
| The replFregeTask has the following new logic: 1. Compiles the specified fregeRepl module (either in the `build.gradle` via command line option `--replModule=...`) and all its dependencies. 2. Sets up the correct classpath so that dependent modules don't have to be imported manually. In addition, it solves the shadowing problem by removing the replModule java and class file from the classpath. 3. It prints one single command to directly start the repl and load the specified module. Bonus: I designed the task so that you can even automate step 3 with the following bash command: `eval $(./gradlew -q replFrege)`. | |||
| 2022-02-23 | refactor: finishes the replFregeTask refactoring | Thibault Gagnaux | |
| 2022-02-11 | refactor: finishes the compileFregeTask refactoring | Thibault Gagnaux | |
| 2022-02-09 | refactor: continues with staged builder refactoring | Thibault Gagnaux | |
| 2022-02-09 | refactor: introduces staged builder patterns for frege project setup | Thibault Gagnaux | |
| (WIP) | |||
| 2022-02-02 | feat: simplifies the whole gradle plugin | Thibault Gagnaux | |
| - the `compileFregeTask` has a new optional input called `mainModuleName`. If it is set, it and only its dependencies will be compiled, otherwise all `.fr`files in the `mainSourceDir`will be compiled. - the internal `DependencyFregeTask` is deleted because it was only used by the vscode plugin and I decided to remove this gradle plugin as a dependency. - an example project folder was added to test the plugin manually. | |||
| 2021-12-21 | fix: only compile `*.fr` files | Thibault Gagnaux | |
| 2021-12-21 | chore: renames `replModule` -> `replSource` and updates readme | Thibault Gagnaux | |
| 2021-12-21 | feat: adds `replSource` property and command-line option | Thibault Gagnaux | |
| The `replSource` property specifies the frege source file that you want to load into the repl. It is excluded in the `fregeCompile` task so that we don't get two java class files (one from `compileFrege` and one from the fregeRepl `:l` command) that shadow each other on the classpath. As a result, we can make interactive changes to the `replSource` file and use the `:r` reload command to see them. | |||
| 2021-12-21 | refactor: extracts common `setupClasspath` logic to util class | Thibault Gagnaux | |
| 2021-12-21 | feat: adds `outputDir` to classpath | Thibault Gagnaux | |
| 2021-12-10 | refactor: adds an internal `depsFrege` task and simplifes `replFrege` | Thibault Gagnaux | |
| - `depsFregeTask`: only internal use for the vscode plugin to automate the repl code lens. - `replFregeTask`: simplified to only print the command to start the repl because starting and interacting through a console is not gradle's core strength. See https://github.com/tricktron/frege-gradle-plugin/issues/11. | |||
| 2021-12-08 | feat: replFrege task v2 returns classpath with all dependencies | Thibault Gagnaux | |
| 2021-11-28 | fix: adds `System.in` as StandardInput to make `ReplFrege` task interactively | Thibault Gagnaux | |
| 2021-11-24 | feat: adds `replFrege` taskf-repl-task | Thibault Gagnaux | |
| 2021-11-24 | refactor: allows to configure the classpath with the groovy dependency notation | Thibault Gagnaux | |
| e.g: ```groovy dependencies { implementation 'org.frege-lang:fregefx:0.8.2-SNAPSHOT' } ``` | |||
| 2021-11-17 | feat: Adds incremental build and build cache support for the `fregeCompile` task | Thibault Gagnaux | |
| 2021-11-16 | feat: adds `compilerFlags` property to configure the Frege compiler | Thibault Gagnaux | |
| 2021-11-10 | feat: `mainModule` property can be configured with command-line option | Thibault Gagnaux | |
| 2021-11-09 | feat: adds two tests and makes them pass for new `runFregeTask` | Thibault Gagnaux | |
| 2021-07-07 | Refactors tests | Thibault Gagnaux | |
| - Uses the builder pattern to simplify the creation of `build.gradle` test files. - Adds `gradlew clean test` github workflow | |||
| 2021-07-02 | Adds `fregeCompile` task with some tests | Thibault Gagnaux | |
| Upgrades gradle-wrapper to version `7.1`. | |||
| 2021-07-01 | Refactors `SetupFregeCompilerTask` tests | Thibault Gagnaux | |
| 2021-06-30 | Adds first `SetupFregeCompilerTaks` with some tests | Thibault Gagnaux | |
| 2021-06-29 | Switches from groovy's spock testing framework back to java | Thibault Gagnaux | |
