7 HOMEBREW_NO_AUTO_UPDATE: 1
11 # See https://circleci.com/docs/2.0/caching/
12 name: Restore Cached Dependencies
14 - stack-dependencies-{{ checksum "stack.yaml" }}
17 command: stack --version || (curl -sSL https://get.haskellstack.org/ | sh -s - -f)
19 name: Resolve/Update Dependencies
20 command: stack --no-terminal setup
23 command: stack --no-terminal test
25 name: Install executable
26 command: stack --no-terminal install
28 name: Create artifacts
30 export VERSION=$(grep '^[Vv]ersion:' pandoc.cabal | awk '{print $$2;}')
31 export ARTIFACTS=macos-release-candidate
32 export RESOURCES=${ARTIFACTS}/Resources
33 export ROOT=${ARTIFACTS}/pandoc
34 export DEST=${ROOT}/usr/local
36 export BASE=pandoc-$VERSION
40 mkdir -p ${DEST}/share/man/man1
41 cp ~/.local/bin/pandoc ${DEST}/bin/
42 strip ${DEST}/bin/pandoc
43 cp man/pandoc.1 ${DEST}/share/man/man1/pandoc.1
44 ~/.local/bin/pandoc -s COPYING.md -Vpagetitle=License -o ${RESOURCES}/license.html
45 chown -R $ME:staff ${ROOT}
46 sed -e "s/PANDOCVERSION/${VERSION}/" macos/distribution.xml.in > ${ARTIFACTS}/distribution.xml
47 cp macos/Makefile ${ARTIFACTS}/
48 echo ${VERSION} > ${ARTIFACTS}/version.txt
49 zip -r macos-release-candidate.zip ${ARTIFACTS}
52 name: Cache Dependencies
53 key: stack-dependencies-{{ checksum "stack.yaml" }}
57 - "/usr/local/bin/stack"
60 # https://circleci.com/docs/2.0/artifacts/
61 path: macos-release-candidate.zip
62 destination: macos-release-candidate.zip
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list