From ae56b21f2147eeb6d83d6a23e1b16110f68a606d Mon Sep 17 00:00:00 2001 From: Duncan McGreggor Date: Mon, 27 Nov 2023 01:45:25 -0600 Subject: [PATCH] Enabled more checks. --- .github/workflows/cicd.yml | 8 ++++---- rebar.config | 4 ++-- src/dirs-common.lfe | 3 ++- 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/.github/workflows/cicd.yml b/.github/workflows/cicd.yml index e05d89c..46f20ce 100644 --- a/.github/workflows/cicd.yml +++ b/.github/workflows/cicd.yml @@ -32,8 +32,8 @@ jobs: run: rebar3 compile - name: Xref Checks run: rebar3 xref - # - name: Dialyzer - # run: rebar3 dialyzer + - name: Dialyzer + run: rebar3 dialyzer - name: Proper Tests run: rebar3 as test do compile, proper --regressions # - name: Run Tests @@ -63,8 +63,8 @@ jobs: run: rebar3 compile - name: Xref Checks run: rebar3 xref - # - name: Dialyzer - # run: rebar3 dialyzer + - name: Dialyzer + run: rebar3 dialyzer - name: Compile Tests run: rebar3 as test compile - name: Proper Tests diff --git a/rebar.config b/rebar.config index 983e22f..4a0dcb7 100644 --- a/rebar.config +++ b/rebar.config @@ -42,8 +42,8 @@ ]}, {check, [ compile, - %%xref, - %%dialyzer, + xref, + dialyzer, ltest, coverage ]} diff --git a/src/dirs-common.lfe b/src/dirs-common.lfe index 415bb25..3eed58b 100644 --- a/src/dirs-common.lfe +++ b/src/dirs-common.lfe @@ -1,7 +1,8 @@ (defmodule dirs-common (export (abs-path? 1) - (home 0))) + (home 0) + (home-subdir 1))) (defun abs-path? ((`(#\/ . ,_)) 'true)