diff options
author | pacien | 2020-05-02 04:11:24 +0200 |
---|---|---|
committer | pacien | 2020-05-02 04:11:24 +0200 |
commit | 8e3ac8fe44bebb38e1882ca7f06b8100078ad88d (patch) | |
tree | a748fa1e639cb3b5e1f24a8150e89dbb28c980cb | |
parent | 7042ffc06326fa8ffe70f5a59747709250166c16 (diff) | |
parent | 0e0b5b0ae44da7c1d67983dedd8f8d8d3516236f (diff) | |
download | ldgallery-1.0.tar.gz |
Merge branch 'develop': release v1.0v1.0
107 files changed, 5780 insertions, 2589 deletions
@@ -1 +1,6 @@ | |||
1 | # compiled man pages | ||
1 | *.1 | 2 | *.1 |
3 | *.7 | ||
4 | |||
5 | # editor and IDE | ||
6 | .idea | ||
diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..826dd65 --- /dev/null +++ b/.travis.yml | |||
@@ -0,0 +1,125 @@ | |||
1 | language: generic | ||
2 | |||
3 | jobs: | ||
4 | include: | ||
5 | - name: release-linux | ||
6 | language: generic | ||
7 | dist: bionic | ||
8 | |||
9 | deploy: | ||
10 | provider: releases | ||
11 | edge: true | ||
12 | token: | ||
13 | secure: zRJV96jl3zchT88YAtT6irCXgm96qVcIokVmCHrzcAXsRHgTHQURKcdpPzFdZQnNkxwfS1akA3fW5icr+U6WZIxIe56sHYEaBg7VXR1RiGW/qNOAhSvbJGva75iUllTiELa2FL2gEb8bNhVOy3+bQr5Z7RMeHFiC4FFmbMvaQhd5ss3yR5+bqKufEuJPDpFap93XHUoczXH+lXp1v90Cia1gskHsSl+YgfGWQAc89yOxETwFOSqr3CScZGV6oJpGM2rsflN5arFS/8JqDwuemttfrt74wDdKR4Mk94tcqXqMrledUsXR1NEjWAEWW6QMj05ztZ76TkT2hKpG+WVmUTaJjNKS+RJnf4WKzv1vo2EHZuAuPvwR21NGVYTxvV4o3Zvs4YODGXiUxQgeF5LFA3jbZw9ODyloStUV7zIPqzL7qJEIehnMtkjo2JPav5ORz6B7GwVrDC4LJHn95on3/3Voo3mPeyepoz1gFoh3iovTKAc+IXQXGOhT7cATP9DAWLO/Epct7hWPCEflm+oSS4rNiVbMW/61O3yIpxgkJ/oTsixLk6LOhWNdr2hfP95nAtD+It7LSsJABmWJ0FVO9RtQC7fLmEPaoGdZIdeRk/0yig9vA78Y+q46B6LBalmZO+0V60rdLdrnggJsyt3DZKM/4Z+QUwe494NodE7hU9U= | ||
14 | on: | ||
15 | tags: true | ||
16 | overwrite: true | ||
17 | cleanup: false | ||
18 | file: ldgallery-linux-amd64.tar.gz | ||
19 | |||
20 | cache: | ||
21 | directories: | ||
22 | - viewer/node_modules | ||
23 | - "$HOME/.stack" | ||
24 | |||
25 | before_install: | ||
26 | - nvm install 12.16.2 | ||
27 | - nvm use 12.16.2 | ||
28 | - mkdir -p ~/.local/bin | ||
29 | - export PATH=$HOME/.local/bin:$PATH | ||
30 | - travis_retry curl -L https://get.haskellstack.org/stable/linux-x86_64.tar.gz | ||
31 | | tar xz --wildcards --strip-components=1 -C ~/.local/bin '*/stack' | ||
32 | - sudo apt-get update -qq | ||
33 | - sudo apt-get install -y pandoc | ||
34 | |||
35 | install: | ||
36 | - cd viewer | ||
37 | - npm install | ||
38 | - cd .. | ||
39 | - cd compiler | ||
40 | - stack setup --no-terminal | ||
41 | - cd .. | ||
42 | |||
43 | script: | ||
44 | - mkdir dist | ||
45 | - cd viewer | ||
46 | - npm run lint | ||
47 | - npm run build -- --dest ../dist/viewer | ||
48 | - cd .. | ||
49 | - cd compiler | ||
50 | - stack build --no-terminal | ||
51 | - stack install --local-bin-path ../dist/ | ||
52 | - cd .. | ||
53 | - pandoc --standalone --to man ldgallery-quickstart.7.md --output dist/ldgallery-quickstart.7 | ||
54 | - pandoc --standalone --to man compiler/ldgallery.1.md --output dist/ldgallery.1 | ||
55 | - pandoc --standalone --to man viewer/ldgallery-viewer.7.md --output dist/ldgallery-viewer.7 | ||
56 | - cp changelog.md license.md dist/ | ||
57 | - tar -cvzf ldgallery-linux-amd64.tar.gz dist | ||
58 | |||
59 | #============================================================= | ||
60 | |||
61 | - name: release-win64 | ||
62 | if: tag IS present OR branch IN (master, staging) | ||
63 | language: shell | ||
64 | os: windows | ||
65 | |||
66 | deploy: | ||
67 | provider: releases | ||
68 | edge: true | ||
69 | token: | ||
70 | secure: zRJV96jl3zchT88YAtT6irCXgm96qVcIokVmCHrzcAXsRHgTHQURKcdpPzFdZQnNkxwfS1akA3fW5icr+U6WZIxIe56sHYEaBg7VXR1RiGW/qNOAhSvbJGva75iUllTiELa2FL2gEb8bNhVOy3+bQr5Z7RMeHFiC4FFmbMvaQhd5ss3yR5+bqKufEuJPDpFap93XHUoczXH+lXp1v90Cia1gskHsSl+YgfGWQAc89yOxETwFOSqr3CScZGV6oJpGM2rsflN5arFS/8JqDwuemttfrt74wDdKR4Mk94tcqXqMrledUsXR1NEjWAEWW6QMj05ztZ76TkT2hKpG+WVmUTaJjNKS+RJnf4WKzv1vo2EHZuAuPvwR21NGVYTxvV4o3Zvs4YODGXiUxQgeF5LFA3jbZw9ODyloStUV7zIPqzL7qJEIehnMtkjo2JPav5ORz6B7GwVrDC4LJHn95on3/3Voo3mPeyepoz1gFoh3iovTKAc+IXQXGOhT7cATP9DAWLO/Epct7hWPCEflm+oSS4rNiVbMW/61O3yIpxgkJ/oTsixLk6LOhWNdr2hfP95nAtD+It7LSsJABmWJ0FVO9RtQC7fLmEPaoGdZIdeRk/0yig9vA78Y+q46B6LBalmZO+0V60rdLdrnggJsyt3DZKM/4Z+QUwe494NodE7hU9U= | ||
71 | on: | ||
72 | tags: true | ||
73 | overwrite: true | ||