guix repl: Add script execution.
[jackhill/guix/guix.git] / Makefile.am
index 3113e6b..8988cdf 100644 (file)
@@ -7,7 +7,7 @@
 # Copyright © 2017 Mathieu Othacehe <m.othacehe@gmail.com>
 # Copyright © 2017 Leo Famulari <leo@famulari.name>
 # Copyright © 2017 Ricardo Wurmus <rekado@elephly.net>
-# Copyright © 2017 Jan Nieuwenhuizen <janneke@gnu.org>
+# Copyright © 2017, 2020 Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
 # Copyright © 2017 Arun Isaac <arunisaac@systemreboot.net>
 # Copyright © 2018 Nikita <nikita@n0.is>
 # Copyright © 2018 Julien Lepiller <julien@lepiller.eu>
@@ -104,6 +104,7 @@ MODULES =                                   \
   guix/lint.scm                                \
   guix/glob.scm                                        \
   guix/git.scm                                 \
+  guix/git-authenticate.scm                    \
   guix/graph.scm                               \
   guix/cache.scm                               \
   guix/cve.scm                                 \
@@ -318,7 +319,8 @@ MODULES += $(STORE_MODULES)
 dist_noinst_DATA =                             \
   guix/tests.scm                               \
   guix/tests/http.scm                          \
-  guix/tests/git.scm
+  guix/tests/git.scm                           \
+  guix/tests/gnupg.scm
 
 # Auxiliary files for packages.
 AUX_FILES =                                            \
@@ -346,6 +348,7 @@ AUX_FILES =                                         \
 EXAMPLES =                                     \
   gnu/system/examples/asus-c201.tmpl           \
   gnu/system/examples/bare-bones.tmpl          \
+  gnu/system/examples/bare-hurd.tmpl           \
   gnu/system/examples/beaglebone-black.tmpl    \
   gnu/system/examples/desktop.tmpl             \
   gnu/system/examples/lightweight-desktop.tmpl \
@@ -403,6 +406,7 @@ SCM_TESTS =                                 \
   tests/gem.scm                                \
   tests/gexp.scm                               \
   tests/git.scm                                        \
+  tests/git-authenticate.scm                   \
   tests/glob.scm                               \
   tests/gnu-maintenance.scm                    \
   tests/grafts.scm                             \
@@ -473,6 +477,7 @@ SH_TESTS =                                  \
   tests/guix-environment-container.sh          \
   tests/guix-graph.sh                          \
   tests/guix-describe.sh                       \
+  tests/guix-repl.sh                           \
   tests/guix-lint.sh
 
 TESTS = $(SCM_TESTS) $(SH_TESTS)
@@ -575,6 +580,8 @@ EXTRA_DIST +=                                               \
   tests/dsa.key                                                \
   tests/ed25519.key                                    \
   tests/ed25519.sec                                    \
+  tests/ed25519bis.key                                 \
+  tests/ed25519bis.sec                                 \
   build-aux/config.rpath                               \
   bootstrap                                            \
   doc/build.scm                                                \
@@ -627,17 +634,17 @@ $(guix_install_go_files): install-nobase_dist_guilemoduleDATA
 install-data-hook:
        touch "$(DESTDIR)$(guileobjectdir)/guix/config.go"
 
-# Commit corresponding to the 'v1.0.1' tag.
-commit_v1_0_1 = d68de958b60426798ed62797ff7c96c327a672ac
+# Commit corresponding to the 'v1.0.0' tag.
+commit_v1_0_0 = 6298c3ffd9654d3231a6f25390b056483e8f407c
 
 # Authenticate the current Git checkout by checking signatures on every commit
-# starting from $(commit_v1_0_1).
-authenticate:
+# starting from $(commit_v1_0_0).
+authenticate: guix/openpgp.go guix/git-authenticate.go guix/git.go
        $(AM_V_at)echo "Authenticating Git checkout..." ;       \
        "$(top_builddir)/pre-inst-env" $(GUILE)                 \
          --no-auto-compile -e git-authenticate                 \
          "$(top_srcdir)/build-aux/git-authenticate.scm"        \
-         "$(commit_v1_0_1)"
+         "$(commit_v1_0_0)"
 
 # Assuming Guix is already installed and the daemon is up and running, this
 # rule builds from $(srcdir), creating and building derivations.