Commit graph

14 commits

Author SHA1 Message Date
Sridhar Ratnakumar
9617c1d1db
Update flake.lock & reintroduce garnix CI (#66)
* flake.lock: Update

Flake lock file updates:

• Updated input 'flake-parts':
    'github:hercules-ci/flake-parts/45298bd207b26e1bcd030a0bb075aa2da29f8e30' (2022-09-28)
  → 'github:hercules-ci/flake-parts/0e101dbae756d35a376a5e1faea532608e4a4b9a' (2022-10-27)
• Removed input 'flake-parts/nixpkgs'
• Added input 'flake-parts/nixpkgs-lib':
    'github:NixOS/nixpkgs/34c5293a71ffdb2fe054eb5288adc1882c1eb0b1?dir=lib' (2022-10-09)
• Updated input 'haskell-flake':
    'github:srid/haskell-flake/e1f757d7c48a81ec53e8a952b0d8304f2315da7e' (2022-10-24)
  → 'github:srid/haskell-flake/2ef06a73fef2856fb5d0f5a8a7a4fef964e0d94f' (2022-10-24)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/0cfb3c002b61807ca0bab3efe514476bdf2e5478' (2022-09-17)
  → 'github:nixos/nixpkgs/f44ba1be526c8da9e79a5759feca2365204003f6' (2022-10-28)

* Run treefmt (new cabal-fmt?)

* Add garnix.yaml to exclude HLS check

* include m1 (via glob(

* include linux too

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-10-30 19:22:49 -04:00
Sherub Thakur
a439b2b529
Remove redundant dependencies (#51)
Since Relude (>= 1.0) reexports most common modules from the following libraries
  - containers
  - unordered-containers
  - text
  - bytestring
So we can remove these from our build-depends list.

More information: https://github.com/kowainik/relude/issues/353
2022-09-01 20:24:41 -04:00
Sridhar Ratnakumar
9080aef7fb
Remove tests; just document how to add it (#50) 2022-09-01 20:04:57 -04:00
Sridhar Ratnakumar
5cfb230f15
Add a flake check for HLS (#47)
Also use check-flake for .#check package.

Deal with network access by disabling sandbox, and excluding in garnix.
2022-08-28 18:50:08 -04:00
EvanPiro
df6efcff60
bin/test: run test, and reload on library change (#32)
* test script now runs on test file update

* added src to cabal tests to get auto reload

* fixed formatting

* removed unneeded test dependency

* fixed cabal formatting issue

* Remove library stanza; no longer needed

* hs-source-dirs belongs to shared

Because we are sharing 'src'

* Fix compilation

* Move other-modules as well.

Co-authored-by: Sridhar Ratnakumar <srid@srid.ca>
2022-08-08 11:02:43 -04:00
EvanPiro
c78eaf81c4
Add Test Suite and Library (#30)
* added library and test scaffoding

* Add bin/test

* Update comments

Co-authored-by: Sridhar Ratnakumar <srid@srid.ca>
2022-08-06 18:45:22 -04:00
Sridhar Ratnakumar
018d7253d8 Use optics-core instead of lens 2022-03-23 13:48:57 -04:00
Sridhar Ratnakumar
1cc66ac752 Advance nixpkgs, and remove macos workaround 2022-02-20 19:19:39 -05:00
Sridhar Ratnakumar
1ad2002e40
base constraint 2022-02-04 19:22:31 -05:00
Sridhar Ratnakumar
285a1633bb
Trim down deps 2022-01-30 17:01:00 -05:00
Sridhar Ratnakumar
e9479b8034 Enable some useful language extensions 2022-01-13 18:23:29 -05:00
Sridhar Ratnakumar
6b0807fbdb
2022 2022-01-08 11:55:00 -05:00
Sridhar Ratnakumar
cfdb1a3782 Relicense under MIT 2021-08-04 10:33:15 -04:00
Sridhar Ratnakumar
7ae116cf34 init 2021-05-31 19:21:58 -04:00