Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
homepage
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
orestis.malaspin
homepage
Commits
932a967d
Commit
932a967d
authored
6 years ago
by
orestis.malaspin
Browse files
Options
Downloads
Patches
Plain Diff
ajout divers
parent
8cc631b8
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
.gitignore
+1
-0
1 addition, 0 deletions
.gitignore
Dockerfile
+3
-0
3 additions, 0 deletions
Dockerfile
Makefile
+5
-5
5 additions, 5 deletions
Makefile
export.sh
+3
-1
3 additions, 1 deletion
export.sh
with
12 additions
and
6 deletions
.gitignore
+
1
−
0
View file @
932a967d
index.html
index.html
site
This diff is collapsed.
Click to expand it.
Dockerfile
+
3
−
0
View file @
932a967d
FROM
nginx
FROM
nginx
COPY
site/index.html /usr/share/nginx/html/
COPY
site/css /usr/share/nginx/html/css
RUN
ls
/usr/share/nginx/html/
This diff is collapsed.
Click to expand it.
Makefile
+
5
−
5
View file @
932a967d
STYLES
:=
../
css/tufte-css/tufte.css
\
STYLES
:=
css/tufte-css/tufte.css
\
../
css/pandoc.css
\
css/pandoc.css
\
../
css/pandoc-solarized.css
\
css/pandoc-solarized.css
\
../
css/tufte-extra.css
css/tufte-extra.css
all
:
index.html
all
:
index.html
index.html
:
index.md Makefile
index.html
:
index.md Makefile
pandoc
-o
$@
$<
-t
html5
-c
../
css/styling.css
pandoc
-o
$@
$<
-t
html5
-c
css/styling.css
--self-contained
deploy
:
all
deploy
:
all
mkdir
-p
site
mkdir
-p
site
...
...
This diff is collapsed.
Click to expand it.
export.sh
+
3
−
1
View file @
932a967d
...
@@ -5,7 +5,7 @@ if [ -z ${SL_CLASS_ROOT+x} ]; then echo "SL_CLASS_ROOT is unset"; else echo "var
...
@@ -5,7 +5,7 @@ if [ -z ${SL_CLASS_ROOT+x} ]; then echo "SL_CLASS_ROOT is unset"; else echo "var
if
[
-z
${
MTI_CLASS_ROOT
+x
}
]
;
then
echo
"MTI_CLASS_ROOT is unset"
;
else
echo
"var is set to '
$MTI_CLASS_ROOT
'"
;
fi
if
[
-z
${
MTI_CLASS_ROOT
+x
}
]
;
then
echo
"MTI_CLASS_ROOT is unset"
;
else
echo
"var is set to '
$MTI_CLASS_ROOT
'"
;
fi
## declare classes directories
## declare classes directories
declare
-a
arr
=(
"
$RUST_CLASS_ROOT
"
"
$SL_CLASS_ROOT
"
"
$MTI_CLASS_ROOT
"
)
declare
-a
arr
=(
"
$RUST_CLASS_ROOT
"
"
$SL_CLASS_ROOT
"
"
$MTI_CLASS_ROOT
"
"
$(
pwd
)
"
)
## now loop through the above array
## now loop through the above array
for
i
in
"
${
arr
[@]
}
"
for
i
in
"
${
arr
[@]
}
"
...
@@ -17,6 +17,8 @@ do
...
@@ -17,6 +17,8 @@ do
make deploy
-C
$i
make deploy
-C
$i
done
done
echo
"
$(
pwd
)
"
/site/
docker stop rustclass
docker stop rustclass
docker build
-t
rustclasscont
.
docker build
-t
rustclasscont
.
docker run
--rm
\
docker run
--rm
\
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment