Browse Source

Lorri support, permanent dictionary

main
Sam Hatfield 2 years ago
parent
commit
8da4aa2264
Signed by: sehqlr
GPG Key ID: 6B1E0EDE1530CA2B
  1. 2
      .gitignore
  2. 6
      Makefile
  3. 3
      shell.nix
  4. 10000
      test/dictionary.txt

2
.gitignore vendored

@ -1,6 +1,4 @@
dist*
spell.cabal
shell.nix
result
cabal.project.local
test/dictionary.txt

6
Makefile

@ -1,5 +1,4 @@
DICTIONARY_PATH = /usr/share/dict/american-english
GENERATED_FILES = spell.cabal default.nix test/dictionary.txt
GENERATED_FILES = spell.cabal default.nix
.PHONY: build
build: default.nix
@ -17,9 +16,6 @@ spell.cabal: package.yaml
default.nix: package.yaml
cabal2nix . > $@
test/dictionary.txt:
cp $(DICTIONARY_PATH) $@
.PHONY: clean
clean:
cabal clean

3
shell.nix

@ -0,0 +1,3 @@
{ pkgs ? import <nixpkgs> { } }:
pkgs.mkShell { buildInputs = [ pkgs.ghc pkgs.cabal-install pkgs.cabal2nix pkgs.haskellPackages.hpack pkgs.aspell pkgs.aspellDicts.en ]; }

10000
test/dictionary.txt

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save