Commit Graph

22 Commits

Author SHA1 Message Date
Erik Svedäng
f4eb4b5e93
test: REPL (#1239) 2021-06-15 08:02:44 +02:00
Veit Heller
c52dae9417
fix: re-add benchmarks (#1166) 2021-02-04 08:35:48 +01:00
Erik Svedäng
1b6aaaaa7c chore: Move doc generation after stack build in release script 2020-12-19 22:48:31 +01:00
Tim Dévé
1863c82559
chore: Creates pre-commit hook to format Haskell code (#1047)
* chore: moves git hook into own folder

This is is done in preparation of having other git hooks

* chore: Creates script to run formatter

* chore: Checks that ormolu is installed before running it

* chore: Adds pre-commit hook to format Haskell files

* chore: Ensures the ormolu instruction are outputted when running hook

* chore: Prints formatted files on newlines
2020-12-05 14:26:28 +01:00
Tim Dévé
f89a3f130e
chore: Makes the commit message hooks more portable (#1042)
Ditches awk and uses sed instead
2020-12-01 20:35:43 +01:00
Tim Dévé
0bd5fa4cb6
chore: Creates git hook to enforce Conventional Commits (#1041)
* chore: Adds Conventional Commits commit-msg hook

* docs: Adds section about git hooks in Contributing Guide

& fixes the headers hierarchy
2020-12-01 14:38:45 +01:00
Veit Heller
fe07a3f062
Refactor error reporting and add CARP_DIR check (#1033)
* compiler: refactor error reporting and add CARP_DIR check

Co-authored-by: Tim Dévé <TimDeve@users.noreply.github.com>

* set CARP_DIR in tests

Co-authored-by: Tim Dévé <TimDeve@users.noreply.github.com>
2020-11-30 15:58:25 +01:00
Erik Svedang
8de4808b74 chore: Move test-for-errors to test directory 2020-11-28 13:11:43 +01:00
Erik Svedäng
a873099640
chore: Move some examples to test/produces-output (#989)
* chore: Moved examples that work more as tests to folder 'test/produces-output'

* fix: Corrections to the release script

* fix: Correct filename on Windows

* fix: Move more files around

* fix: Remove check-malloc example

* fix: Apparently unicode example does not work

* chore: Move nested_lambdas.carp back to examples

* chore: Remove .DS_Store files

* fix: Bring back unicode test

* test: Make sure benchmark compile (had to remove mandelbrot and n-bodies)

* fix: Replacement implementation of clock_gettime on Windows

* chore: Trigger CI

* fix: Define CLOCK_REALTIME

Co-authored-by: Erik Svedang <erik@Eriks-iMac.local>
2020-11-23 06:30:43 +01:00
Erik Svedang
4f7b4ef4cd fix: Bring back the test suite 2020-11-19 20:36:54 +01:00
Erik Svedang
637b66c88c fix: Trying out another copying script (temporarily removed the tests) 2020-11-19 19:43:03 +01:00
Erik Svedäng
428dce9445 fix: Use 'sh' syntax in run_carp_tests.sh 2020-11-18 22:29:13 +01:00
Erik Svedang
d86a0d4b0d Try single '=' 2020-11-15 21:46:25 +01:00
Erik Svedang
3d8e173f09 Try bash instead 2020-11-15 21:38:32 +01:00
Erik Svedang
232ba9d9b1 Better bash in release.sh 2020-11-15 21:35:52 +01:00
Jorge Acereda
027b78cb7c Remove bashism. 2020-11-14 18:48:37 +01:00
Jorge Acereda
989920f360 Remove bashism. 2020-11-14 18:16:55 +01:00
Jorge Acereda
46a0abe897 Fix nixpkgs build. 2020-11-14 15:28:17 +01:00
Erik Svedang
6186172f9b fix: Remove test for empty project, for now (building library fails on Windows) 2020-11-11 22:30:41 +01:00
Tim Dévé
aa1611b7c5 Echoes examples path when running run_carp_tests.sh
Makes it easier to see which file failed in case of errors
2020-11-11 18:15:03 +00:00
Erik Svedäng
526a5c1573 test: Add test for building empty project 2020-11-11 07:10:59 +01:00
Tim Dévé
4971be73f4 Moves scripts in scripts folder 2020-11-09 10:51:11 +00:00