Skip to content

Commit

Permalink
don't shoot the messenger
Browse files Browse the repository at this point in the history
Travis was dead since some month because of some modification in pillar workflow so I used 'pharo with style' to fix the bug
  • Loading branch information
ElCep committed Feb 5, 2019
1 parent 4f7e2e4 commit 8aac1d4
Show file tree
Hide file tree
Showing 257 changed files with 19,275 additions and 5,306 deletions.
27 changes: 27 additions & 0 deletions .bintray.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"package": {
"name": "CORMAS with Style",
"repo": "wip",
"subject": "squarebracketassociates",
"desc": "How to use Pharo in an agent based way.",
"licenses": ["MIT"],
"website_url": "http://cormas.cirad.fr/",
"issue_tracker_url": "https://github.com/cormas/Booklet-CORMAS/issues",
"vcs_url": "[email protected]:cormas/Booklet-CORMAS.git",
"labels": ["work-in-progress"]
},

"version": {
"name": "latest",
"desc": "Latest successful build"
},

"files": [
{
"includePattern": "_result/pdf/withstylebook.pdf",
"uploadPattern": "CORMAS_withStyle.pdf",
"matrixParams": { "override": 1 }
}
],
"publish": true
}
11 changes: 3 additions & 8 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,15 +1,10 @@
/download.sh
/Pharo.*
/pharo
/pharo-ui
/pillar
/mustache
/pharo-vm/
/build/

*.aux
*.fdb_latexmk
*.log
*.pdf
*.synctex.gz
*.fls
/_result/
.DS_Store
*.DS_Store
44 changes: 32 additions & 12 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,35 @@
sudo: required
services:
- docker
before_install:
- docker pull dpollet/texlive:pillar
language: smalltalk
sudo: false

os:
- linux

smalltalk:
- Pharo-6.1

# Unit tests run the normal pillar tests
# Integration tests test that pillar itself can interact with generated files, pdf generation, etc.
# System tests test that we can install and use pillar as a black box
env:
matrix:
- JOB=test TYPE=System ARCHETYPE=book OUTPUT=pdf

install:
# Pillar installation
- git clone https://github.com/pillar-markup/pillar.git -b dev-7 # Clone pillar
- cd pillar && ./scripts/build.sh && cd .. # Run pillar build script. Pillar will be built in `pwd`/build!
- . pillar/scripts/ci/ensure_latex.sh # Install latex
- ./pillar/scripts/ci/ensure_book_dependencies.sh # Install latex dependencies required by pillar

script:
- docker run --tty --rm --volume $PWD:/work dpollet/texlive:pillar bash -c "make spiralbook"
- ./pillar/build/pillar build pdf

deploy:
provider: releases
api_key:
secure: aqE5qPyTMKbklg+io867S2cgRYBqHA30/+GnIkPj7je7bRrhmXqi+NVuZRp0TXxhhVdSanQrdGOtza/4PbTwqz15NbiLLk6aJ5jeOHRGwLhyGIUqv/JDU/rgzc+4t0H7A070ARgZ3aIaCAj3g3Iq/ph8FrfU4+jHXuzsrlwVzQz15xZWUVB7tn6wCh6JCj6jYXJKpjDc8n1NJWHcF19bOBvol7qUWbLdfkUgW78rcDS9bTugro7REaDCA3WTtB1njc3diD52NJrM1QsLa/FQo0i3eWdHpF3ZHNiEHSV4tBReXXanaWpVU/Lcvg0dAgbtyn1oda2XajBPLtp4MvxNBb8MlfsUqoyBd6fgXw1hjRDUGM2a/FBNqenB5aOcxXiduEE1/3WTmdMkKtQk+SiaOec9QGmfY26553yZAc2/XPW5ImB05t5OmBFD04JRnmwO3R7wOHw6N+tVEpAIrYjabiG+6zl7igrCNR9WLJ4PecMc5LCL7uHQGCun6trzDLK3v29CBQVqgK81Hlbqm+A3E0ajwoEaqInhuip1HrU4sIjL+XJG2g0XEjgIZBs5GcdTemQr0mwvUcNXn8yVEnL2II8bLt/pLLlIT68jOOk4LPx4iKROgzkY8ZCaPnhdB2w1mRzdOI0Ct3ObXdaAKIcgbvBqfNJydLosvEjykTuJ/t8=
file: build/book.spiral.pdf
skip_cleanup: true
- provider: bintray
file: .bintray.json
on:
repo: cormas/Booklet-CORMAS
repo: SquareBracketAssociates/Booklet-PharoWithStyle
skip_cleanup: true
user: ducasse
key:
secure: knWdeYaDAnG2ymmegeryifQsVcP5m14iDhQMbhstjPT01lmtRAZ+Xb1VpekhQuGsksYyCrL1XbVfbIAO4gbCZWk5nAL1HOAqbxyZkq83qLW8+jpzdKwCJHCTPm278xvhHcD0h0ZKBpI5vmWfp9KumhWlkk/4V0XAQnxYBLsaF8IV5ydx9u43lEA72wiQlWE5SXLrygjWoNAPV7saJkjwkCdalMTPO3jhRw1jsM1+w/D1KlDjeyTYFhgWqHhi9go2HlfnOXpYLHgVK3GGEzh4MQGNl4iQR1Ikdbo1UZroDsKY6F0GltOdi1PMEEkijSTdWnBmSts2PCXCuuOUg5x5wmeomDHyU22/Af3EbmK51THi9vsEpxPTp8o1XHI+I6uOXIfzaOqt8g3XySpWJdVl6/sAjddvBvMudn0uPHWXp3PsIzlZo4mHbHAVlcIyjvzt75m9BH4/cHpjX7Y+Lx8WdeECBUGKTIGKD1bsAWAqrlZiKv3uGNc89gLxuAvQMjqB44JV3KOuit9/5UrKyIGCd3BwP0dTFnxTReoixFhCopDw4mSkxdkFAL5cZ5Tz/kF2GPAsETm0uR1b51EjM+qIb9sEmnhgSLLrpQIrmkrm3zZNoSeQM3QB7ittJJvY4JPgzKN5vcal6ybOf9xnmirsun5SETbz08KYbEaaE0h8hA8=
25 changes: 0 additions & 25 deletions Makefile

This file was deleted.

1 change: 0 additions & 1 deletion UML diagrams/Cormas SpaceView class architecture.xml

This file was deleted.

11 changes: 0 additions & 11 deletions UML diagrams/README.md

This file was deleted.

7 changes: 7 additions & 0 deletions _support/epub/META-INF/container.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<?xml version="1.0"?>
<container version="1.0" xmlns="urn:oasis:names:tc:opendocument:xmlns:container">
<rootfiles>
<rootfile full-path="contents.opf"
media-type="application/oebps-package+xml"/>
</rootfiles>
</container>
1 change: 1 addition & 0 deletions _support/epub/mimetype
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
application/epub+zip
File renamed without changes.
Empty file added _support/figures/.keep
Empty file.
49 changes: 49 additions & 0 deletions _support/html/css/auto-complete.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
.autocomplete-suggestions {
text-align: left;
cursor: default;
border: 1px solid #ccc;
border-top: 0;
background: #fff;
box-shadow: 1px 2px 6px;
transition: left 0.1s ease-in-out;

/* core styles should not be changed */
position: absolute;
display: none;
z-index: 9999;
max-height: 70vh;
width: 265px;
overflow: hidden;
overflow-y: hidden;
box-sizing: border-box;

}
.autocomplete-suggestion {
position: relative;
cursor: pointer;
padding: 7px;
line-height: 23px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
color: #333;
}

.autocomplete-suggestion b {
font-weight: normal;
color: #1f8dd6;
}

.autocomplete-suggestion.selected {
background: #333;
color: #fff;
}

.autocomplete-suggestion:hover {
background: #444;
color: #fff;
}

.autocomplete-suggestion > .context {
font-size: 12px;
}
Loading

0 comments on commit 8aac1d4

Please sign in to comment.