aboutsummaryrefslogtreecommitdiff
path: root/src/main
AgeCommit message (Collapse)Author
2022-02-15Add support for the frege-intellij pluginHEADmasternea
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
2021-12-21fix: only compile `*.fr` filesThibault Gagnaux
2021-12-21chore: renames `replModule` -> `replSource` and updates readmeThibault Gagnaux
2021-12-21feat: adds `replSource` property and command-line optionThibault 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-21refactor: extracts common `setupClasspath` logic to util classThibault Gagnaux
2021-12-21feat: adds `outputDir` to classpathThibault Gagnaux
2021-12-10refactor: 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-08feat: replFrege task v2 returns classpath with all dependenciesThibault Gagnaux
2021-11-28fix: adds `System.in` as StandardInput to make `ReplFrege` task interactivelyThibault Gagnaux
2021-11-24feat: adds `replFrege` taskf-repl-taskThibault Gagnaux
2021-11-24refactor: allows to configure the classpath with the groovy dependency notationThibault Gagnaux
e.g: ```groovy dependencies { implementation 'org.frege-lang:fregefx:0.8.2-SNAPSHOT' } ```
2021-11-17feat: Adds incremental build and build cache support for the `fregeCompile` taskThibault Gagnaux
2021-11-16feat: adds `compilerFlags` property to configure the Frege compilerThibault Gagnaux
2021-11-10feat: `mainModule` property can be configured with command-line optionThibault Gagnaux
2021-11-09feat: adds two tests and makes them pass for new `runFregeTask`Thibault Gagnaux
2021-07-07Refactors testsThibault Gagnaux
- Uses the builder pattern to simplify the creation of `build.gradle` test files. - Adds `gradlew clean test` github workflow
2021-07-02Adds `fregeCompile` task with some testsThibault Gagnaux
Upgrades gradle-wrapper to version `7.1`.
2021-07-01Refactors `SetupFregeCompilerTask` testsThibault Gagnaux
2021-06-30Adds first `SetupFregeCompilerTaks` with some testsThibault Gagnaux
2021-06-29Switches from groovy's spock testing framework back to javaThibault Gagnaux
2021-06-28Inits branch with a simple groovy testThibault Gagnaux
2020-06-28upgrading to gradle 6.5Dierk Koenig
2020-06-28compiles and runs with frege-3.25.84.jar and Gradle 5.0Dierk Koenig
2016-04-12Add support for >gradle 2.12Rene Groeschke
- update wrapper to 2.12 - fix sourcedirectory setup - add integTest coverage for 2.12
2015-12-29workaround for failing fregedoc when ignoring java sourcesRene Groeschke
2015-12-14seme more coverage and work on frege doc task.Rene Groeschke
TODO fix fregedoc task for mixed java + frege sources
2015-11-23fix FregeCompile incremental build behaviourRene Groeschke
2015-11-22group all frege task in frege groupRene Groeschke
- fixes issue #30
2015-11-22fix fregepath handlingRene Groeschke
2015-11-22some more work on coverage and some cleanupRene Groeschke
- get packages for integ tests right - introduce common AbstractFregeIntegrationSpec - first stab of unit test coverage for FregeCompile - minor cleanup on FregeCompile - configure fregePath as part as part of base plugin convention
2015-11-21simplify implementation and remove use of internal api that is shaded by ↵Rene Groeschke
classloader
2015-11-21remove optional annotations for property that are not optional but configurableRene Groeschke
2015-11-21create frege compile task per sourceSetRene Groeschke
2015-11-18introduce frege-base plugin for basic frege functionalityRene Groeschke
2015-09-25use newer conventions for group namesDierk Koenig
2015-09-25make calls a bit more regularDierk Koenig
2015-09-25replace base plugin with Java plugin since we depend on it for the "classes" ↵Dierk Koenig
target
2015-09-23Removed logging source pathMark Perry
2015-09-23Cleanup compile task and pluginMark Perry
2015-09-23Allow disabling frege compile task. Added default modules for compiling ↵Mark Perry
frege main and test
2015-09-22Added JVM args for quickcheckMark Perry
2015-09-22Added quick check dependency to testMark Perry
2015-09-22Added src build classes to classpath for frege test tasksource-path-experimentMark Perry
2015-09-20Added main class option. Removed automatic module nameMark Perry
2015-09-20Implemented most options to use the plugin to compile the Frege sourceMark Perry
2015-09-18Changes for source path - does not workMark Perry
2015-09-17Added what little help on native gen is availableinternal-compilationMark Perry
2015-09-17Added help to fregeDoc taskMark Perry
2015-09-17Fixed quickcheck within the moduleMark Perry
2015-09-16Removed commented out codeMark Perry