Skip to content

Commit 8cd4a6f

Browse files
Move agda2hs.agda-lib into lib directory
1 parent d91d2ed commit 8cd4a6f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

98 files changed

+12
-11
lines changed

.github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
- 'lib/**'
99
- 'src/**'
1010
- 'test/**'
11-
- 'agda2hs.agda-lib'
11+
- 'lib/agda2hs/agda2hs.agda-lib'
1212
- 'agda2hs.cabal'
1313
- 'cabal.project'
1414
- 'Makefile'

.github/workflows/nix-ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
- 'lib/**'
99
- 'src/**'
1010
- 'test/**'
11-
- 'agda2hs.agda-lib'
11+
- 'lib/agda2hs/agda2hs.agda-lib'
1212
- 'agda2hs.cabal'
1313
- 'cabal.project'
1414
- 'Makefile'

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ repl :
1111
cabal repl # e.g. `:set args -itest -otest/build test/AllTests.agda ... main ... :r ... main`
1212

1313
libHtml :
14-
cabal run agda2hs -- --html lib/Haskell/Prelude.agda
14+
cabal run agda2hs -- --html --include-path lib/agda2hs lib/agda2hs/Haskell/Prelude.agda
1515
cp html/Haskell.Prelude.html html/index.html
1616

1717
test/agda2hs : $(FILES)

agda2hs.cabal

+3-2
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,9 @@ description:
1818
extra-doc-files: CHANGELOG.md
1919
README.md
2020

21-
data-files: agda2hs.agda-lib
22-
lib/**/*.agda
21+
data-files:
22+
lib/agda2hs/agda2hs.agda-lib
23+
lib/agda2hs/**/*.agda
2324

2425
source-repository head
2526
type: git

docs/source/introduction.md

+2-2
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
name: agda2hs
22
depend:
3-
include: lib
3+
include: .
44
flags: -W noUnsupportedIndexedMatch --erasure

nix/default.nix

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ let
1212
preBuild = ''
1313
echo "{-# OPTIONS --sized-types #-}" > Everything.agda
1414
echo "module Everything where" >> Everything.agda
15-
find lib -name '*.agda' | sed -e 's/lib\///;s/\//./g;s/\.agda$//;s/^/import /' >> Everything.agda
15+
find . -name '*.agda' ! -name 'Everything.agda' | sed -e 's/.\///;s/\//./g;s/\.agda$//;s/^/import /' >> Everything.agda
1616
'';
17-
src = ../.;
17+
src = ../lib/agda2hs;
1818
};
1919
in
2020
{

test/agda2hs-test.agda-lib

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
name: agda2hs-test
22
depend:
3-
include: . ../lib
3+
include: . ../lib/agda2hs/
44
flags: --sized-types --erasure

0 commit comments

Comments
 (0)