Skip to content

Commit

Permalink
Rework GAP tooling
Browse files Browse the repository at this point in the history
  • Loading branch information
yurrriq committed Aug 22, 2020
1 parent 7a23a65 commit e5688b6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .dir-locals.el
Expand Up @@ -2,7 +2,7 @@
;;; For more information see (info "(emacs) Directory Variables")

((gap-mode
(eval . (setq gap-executable (getenv "GAP_EXECUTABLE"))))
(gap-executable . "gap"))
(idris-mode
(idris-interpreter-flags "-p" "contrib")
(idris-interpreter-path . "idris")))
6 changes: 3 additions & 3 deletions Makefile
@@ -1,15 +1,15 @@
srcs := \
gap-srcs := \
PackageInfo.g \
init.g \
lib/gis.gd \
lib/gis.gi \
makedoc.g \
read.g

check: ${srcs}
gap-check: ${srcs}
gap --nointeract -l ";." -q tst/testall.g

docs: makedoc.g ${srcs}
gap-docs: makedoc.g ${srcs}
gap --nointeract -b $<


Expand Down
1 change: 0 additions & 1 deletion shell.nix
Expand Up @@ -24,5 +24,4 @@ pkgs.mkShell {
pre-commit
]
);
GAP_EXECUTABLE = "${pkgs.gap-full}/bin/gap";
}

0 comments on commit e5688b6

Please sign in to comment.