Skip to content

Commit

Permalink
Tweak a few things for 2.9.0 (#833)
Browse files Browse the repository at this point in the history
* Fix Dockerfile

* Include version number in CHANGES.md

* Update copyright dates

* Don't include cryptol-specs in release archives

* Remove duplicate copy of Programming Cryptol
  • Loading branch information
Aaron Tomb authored Jul 28, 2020
1 parent 755d4d2 commit 5100132
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions .github/ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ bundle_files() {
doc=dist/share/doc/cryptol
mkdir -p $doc
cp -R examples/ $doc/examples/
rm -rf $doc/examples/cryptol-specs
cp docs/*md docs/*pdf $doc

# Copy the two interesting examples over
Expand Down
2 changes: 1 addition & 1 deletion CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# NEXT
# 2.9.0

## Language changes

Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,7 @@ FROM haskell:8.8 AS build

RUN apt-get update && apt-get install -y libncurses-dev
COPY --from=solvers /solvers/rootfs /
RUN useradd -m cryptol \
&& su -c '/opt/cabal/bin/cabal v2-update' cryptol
RUN useradd -m cryptol
COPY --chown=cryptol:cryptol . /cryptol
USER cryptol
WORKDIR /cryptol
Expand All @@ -54,6 +53,7 @@ ENV LANG=C.UTF-8 \
LC_ALL=C.UTF-8
COPY cabal.GHC-8.8.3.config cabal.project.freeze
RUN mkdir -p rootfs/usr/local/bin
RUN cabal v2-update
RUN cabal v2-install --install-method=copy --installdir=rootfs/usr/local/bin exe:cryptol
RUN cabal v2-install --install-method=copy --installdir=bin test-lib
RUN ./bin/test-runner --ext=.icry --exe=./rootfs/usr/local/bin/cryptol -F -b tests
Expand Down
2 changes: 1 addition & 1 deletion cryptol.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Author: Galois, Inc.
Maintainer: cryptol@galois.com
Homepage: http://www.cryptol.net/
Bug-reports: https://github.com/GaloisInc/cryptol/issues
Copyright: 2013-2019 Galois Inc.
Copyright: 2013-2020 Galois Inc.
Category: Language
Build-type: Simple
Cabal-version: 1.18
Expand Down
Binary file removed docs/Cryptol.pdf
Binary file not shown.
Binary file modified docs/ProgrammingCryptol.pdf
Binary file not shown.
2 changes: 1 addition & 1 deletion docs/ProgrammingCryptol/preface/Notice.tex
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
appear in this documentation. Of course, we appreciate bug reports
and clarification suggestions.

Copyright 2003--2018 Galois, Inc. All rights reserved by Galois,
Copyright 2003--2020 Galois, Inc. All rights reserved by Galois,
Inc.

The software installed in accordance with this documentation is
Expand Down

0 comments on commit 5100132

Please sign in to comment.