commit initial

master
Yves Dubromelle 5 years ago
commit e134f3589d

76
.gitignore vendored

@ -0,0 +1,76 @@
# Nix build result
/result
# Swap
[._]*.s[a-v][a-z]
[._]*.sw[a-p]
[._]s[a-rt-v][a-z]
[._]ss[a-gi-z]
[._]sw[a-p]
# Session
Session.vim
Sessionx.vim
# Temporary
.netrwhist
*~
# Auto-generated tag files
tags
# Persistent undo
[._]*.un~
*.gem
*.rbc
/.config
/coverage/
/InstalledFiles
/pkg/
/spec/reports/
/spec/examples.txt
/test/tmp/
/test/version_tmp/
/tmp/
# Used by dotenv library to load environment variables.
# .env
# Ignore Byebug command history file.
.byebug_history
## Specific to RubyMotion:
.dat*
.repl_history
build/
*.bridgesupport
build-iPhoneOS/
build-iPhoneSimulator/
## Specific to RubyMotion (use of CocoaPods):
#
# We recommend against adding the Pods directory to your .gitignore. However
# you should judge for yourself, the pros and cons are mentioned at:
# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
#
# vendor/Pods/
## Documentation cache and generated files:
/.yardoc/
/_yardoc/
/doc/
/rdoc/
## Environment normalization:
/.bundle/
/vendor/bundle
/lib/bundler/man/
# for a library or gem, you might want to ignore these files since the code is
# intended to run in multiple environments; otherwise, check them in:
# Gemfile.lock
# .ruby-version
# .ruby-gemset
# unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
.rvmrc
.idea/

@ -0,0 +1,4 @@
source 'https://rubygems.org'
gem 'asciidoctor-revealjs' # latest released version
gem 'asciidoctor-diagram'

@ -0,0 +1,22 @@
GEM
remote: https://rubygems.org/
specs:
asciidoctor (2.0.10)
asciidoctor-diagram (1.5.18)
asciidoctor (>= 1.5.0, < 3.x)
asciidoctor-revealjs (2.0.0)
asciidoctor (>= 1.5.6, < 2.1)
concurrent-ruby (~> 1.0)
thread_safe (~> 0.3.5)
concurrent-ruby (1.1.5)
thread_safe (0.3.6)
PLATFORMS
ruby
DEPENDENCIES
asciidoctor-diagram
asciidoctor-revealjs
BUNDLED WITH
1.17.2

@ -0,0 +1,8 @@
#!/usr/bin/env bash
export PATH="${jre}/bin:${coreutils}/bin:${graphviz}/bin:${asciidoctor_revealjs}/bin"
${asciidoctor}/bin/asciidoctor -r asciidoctor-diagram -o ${out}/page.html --trace ${src}/slides.adoc
asciidoctor-revealjs -r asciidoctor-diagram -o ${out}/slides.html --trace ${src}/slides.adoc
cp -r ${revealjs} ${out}/reveal.js
cp -r ${images} ${out}/images
ln -s slides.html ${out}/index.html

@ -0,0 +1,26 @@
with (import <nixpkgs> {});
let
asciidoctor_revealjs = bundlerApp {
pname = "asciidoctor-revealjs";
exes = [ "asciidoctor-revealjs" ];
inherit ruby;
gemdir = ./.;
};
revealjs = fetchFromGitHub {
owner = "hakimel";
repo = "reveal.js";
rev = "3.8.0";
sha256 = "14cva2hxdv4gxpz2a996qs8xhxffw97a90gkz2mmgdczh1kyn1sc";
};
in derivation {
name = "cours-arkea";
builder = "${bash}/bin/bash";
args = [ ./build.sh ];
inherit asciidoctor asciidoctor_revealjs coreutils jre graphviz revealjs;
src = ./src;
images = ./images;
system = builtins.currentSystem;
}

@ -0,0 +1,54 @@
{
asciidoctor = {
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "1b2ajs3sabl0s27r7lhwkacw0yn0zfk4jpmidg9l8lzp2qlgjgbz";
type = "gem";
};
version = "2.0.10";
};
asciidoctor-diagram = {
dependencies = ["asciidoctor"];
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "095ar1hj96mi9vxnjjdkj7yzc3lp4wjxh4qsijx9inqflbcw7x71";
type = "gem";
};
version = "1.5.18";
};
asciidoctor-revealjs = {
dependencies = ["asciidoctor" "concurrent-ruby" "thread_safe"];
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "16gk16ym30xyqhl8wphj4a9lz1zgv0m7bf9b0avxz2922l4hr091";
type = "gem";
};
version = "2.0.0";
};
concurrent-ruby = {
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "1x07r23s7836cpp5z9yrlbpljcxpax14yw4fy4bnp6crhr6x24an";
type = "gem";
};
version = "1.1.5";
};
thread_safe = {
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "0nmhcgq6cgz44srylra07bmaw99f5271l0dpsvl5f75m44l0gmwy";
type = "gem";
};
version = "0.3.6";
};
}

@ -0,0 +1,8 @@
with import <nixpkgs> {};
stdenv.mkDerivation {
name = "env";
buildInputs = [
ruby.devEnv
bundix
];
}

@ -0,0 +1,7 @@
= Source Code Versioning
== Comprendre lintérêt du versionning dans un projet de développement
== Connaitre les types de fonctionnements existants
== De sapproprier un outil de gestion de versions
Loading…
Cancel
Save