Skip to content

Commit 02af9d7

Browse files
committed
Refactor assignment into dedicated project for reuse + add deliverables section
1 parent 0adc4fa commit 02af9d7

File tree

11 files changed

+37
-179
lines changed

11 files changed

+37
-179
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,3 @@ output
22
.bundle
33
*.html
44
asciidoctor.css
5-
common

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,6 @@
22
path = common
33
url = https://github.com/formations/common.git
44
branch = master
5+
[submodule "assignments"]
6+
path = assignments
7+
url = https://github.com/formations/assignments.git

.travis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ cache:
55
- .bundle
66

77
before_install:
8-
- mkdir -p output/cours output/tp
8+
- mkdir -p output/cours output/tp output/images
99
- bundle config --local github.https true
1010
- bundle --path=.bundle/gems --binstubs=.bundle/.bin
1111
- cp common/course.css output/cours/style.css
@@ -14,15 +14,15 @@ before_install:
1414
script:
1515
- bundle exec asciidoctor-revealjs -D output/cours -a revealjs_history=true -a revealjs_theme=white -a revealjs_slideNumber=true -a linkcss -a customcss=style.css -a revealjsdir=https://cdnjs.cloudflare.com/ajax/libs/reveal.js/3.5.0 cours/*.adoc
1616
- bundle exec asciidoctor -D output README.adoc -a linkcss -a stylesheet=asciidoctor.css
17+
- bundle exec asciidoctor -D output work.adoc -a linkcss -a stylesheet=asciidoctor.css
1718
- bundle exec asciidoctor -D output/tp tp/*.adoc -a linkcss -a stylesheet=../asciidoctor.css
18-
- bundle exec asciidoctor -D output/rendu rendu/*.adoc -a linkcss -a stylesheet=../asciidoctor.css
1919

2020
after_success:
2121
- cd output ;
2222
- mv README.html index.html
2323
- cp -R ../cours/images cours
2424
- cp -R ../tp/images tp
25-
- cp -R ../rendu/images rendu
25+
- cp -R ../assignments/library/images .
2626
- git init
2727
- git config user.name "${GH_USER_NAME}"
2828
- git config user.email "{GH_USER_EMAIL}"

README.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@ include::license.adoc[]
2020
. Injection de dépendances
2121
* <<cours/injection.adoc#,Cours>>
2222
* <<tp/injection.adoc#,Travaux Pratiques>>
23-
. <<rendu/work.adoc#,Rendu>>
23+
. <<work.adoc#,Rendu>>

assignments

Submodule assignments added at 733db82

rendu/images/book.svg

Lines changed: 0 additions & 4 deletions
This file was deleted.

rendu/images/books.svg

Lines changed: 0 additions & 4 deletions
This file was deleted.

rendu/images/connection.svg

Lines changed: 0 additions & 4 deletions
This file was deleted.

rendu/images/welcome.svg

Lines changed: 0 additions & 4 deletions
This file was deleted.

rendu/work.adoc

Lines changed: 0 additions & 158 deletions
This file was deleted.

0 commit comments

Comments
 (0)