summaryrefslogtreecommitdiff
path: root/Makefile.am
blob: ca95abe2eca1d3a9a6220bc2760fe67d2181a99b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
# guix-data-service - Mediocre, uh, mail interface
# Copyright © 2016, 2017, 2018 Ricardo Wurmus <rekado@elephly.net>
# Copyright © 2019 Christopher Baines <mail@cbaines.net>
#
# This file is part of guix-data-service.
#
# guix-data-service is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# guix-data-service is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with the guix-data-service.  If not, see
# <http://www.gnu.org/licenses/>.

include guile.am

bin_SCRIPTS =							\
  scripts/guix-data-service					\
  scripts/guix-data-service-process-jobs			\
  scripts/guix-data-service-process-branch-updated-email	\
  scripts/guix-data-service-query-build-servers

moddir = $(prefix)/share/guile/site/$(GUILE_EFFECTIVE_VERSION)
godir  = $(moddir)
assetsdir = $(datadir)/@PACKAGE@

SOURCES =							\
  guix-data-service/branch-updated-emails.scm			\
  guix-data-service/builds.scm					\
  guix-data-service/comparison.scm				\
  guix-data-service/config.scm					\
  guix-data-service/database.scm				\
  guix-data-service/jobs.scm					\
  guix-data-service/jobs/load-new-guix-revision.scm		\
  guix-data-service/model/build-server.scm			\
  guix-data-service/model/build-status.scm			\
  guix-data-service/model/build.scm				\
  guix-data-service/model/derivation.scm			\
  guix-data-service/model/guix-revision-package-derivation.scm	\
  guix-data-service/model/guix-revision.scm			\
  guix-data-service/model/package-derivation.scm		\
  guix-data-service/model/package-metadata.scm			\
  guix-data-service/model/package.scm				\
  guix-data-service/model/utils.scm				\
  guix-data-service/web/controller.scm				\
  guix-data-service/web/render.scm				\
  guix-data-service/web/server.scm				\
  guix-data-service/web/sxml.scm				\
  guix-data-service/web/util.scm				\
  guix-data-service/web/view/html.scm

TEST_EXTENSIONS = .scm

TESTS =				\
  tests/model-derivation.scm

AM_TESTS_ENVIRONMENT = abs_top_srcdir="$(abs_top_srcdir)"

SCM_LOG_DRIVER = $(top_builddir)/test-env	\
  $(GUILE) --no-auto-compile -e main		\
      $(top_srcdir)/build-aux/test-driver.scm

AM_SCM_LOG_DRIVER_FLAGS = --brief=yes