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
Alexis Durgnat
homepage
Commits
fe68e96c
Commit
fe68e96c
authored
5 years ago
by
orestis.malaspin
Browse files
Options
Downloads
Patches
Plain Diff
added betterexport
parent
37feb3d3
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
export.sh
+3
-1
3 additions, 1 deletion
export.sh
index.md
+1
-0
1 addition, 0 deletions
index.md
with
4 additions
and
1 deletion
export.sh
+
3
−
1
View file @
fe68e96c
...
...
@@ -4,9 +4,10 @@ if [ -z ${RUST_CLASS_ROOT+x} ]; then echo "RUST_CLASS_ROOT is unset"; else echo
if
[
-z
${
SL_CLASS_ROOT
+x
}
]
;
then
echo
"SL_CLASS_ROOT is unset"
;
else
echo
"var is set to '
$SL_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
if
[
-z
${
RUST_EXERCICES_ROOT
+x
}
]
;
then
echo
"RUST_EXERCICES_ROOT is unset"
;
else
echo
"var is set to '
$RUST_EXERCICES_ROOT
'"
;
fi
if
[
-z
${
CONC_ROOT
+x
}
]
;
then
echo
"CONC_ROOT is unset"
;
else
echo
"var is set to '
$CONC_ROOT
'"
;
fi
## declare classes directories
declare
-a
arr
=(
"
$RUST_CLASS_ROOT
"
"
$SL_CLASS_ROOT
"
"
$MTI_CLASS_ROOT
"
"
$RUST_EXERCICES_ROOT
"
"
$(
pwd
)
"
)
declare
-a
arr
=(
"
$RUST_CLASS_ROOT
"
"
$SL_CLASS_ROOT
"
"
$MTI_CLASS_ROOT
"
"
$RUST_EXERCICES_ROOT
"
"
$CONC_ROOT
"
"
$(
pwd
)
"
)
## now loop through the above array
for
i
in
"
${
arr
[@]
}
"
...
...
@@ -24,6 +25,7 @@ rsync -avz index.html malaspinas@129.194.185.180:/www/
rsync
-avz
$RUST_CLASS_ROOT
/prog_seq malaspinas@129.194.185.180:/www/
rsync
-avz
$SL_CLASS_ROOT
/sol malaspinas@129.194.185.180:/www/
rsync
-avz
$MTI_CLASS_ROOT
/mti malaspinas@129.194.185.180:/www/
rsync
-avz
$CONC_ROOT
/concurrence malaspinas@129.194.185.180:/www/
# docker stop rustclass
# docker build -t rustclasscont .
...
...
This diff is collapsed.
Click to expand it.
index.md
+
1
−
0
View file @
fe68e96c
...
...
@@ -41,6 +41,7 @@ corrige: false
# Cours de deuxième année
## [Mathématiques en technologie de l'information](mti/index.html), [git repo](https://githepia.hesge.ch/orestis.malaspin/math_tech_info), [pdf](mti/cours.pdf)
## [Programmation concurrente](concurrence/index.html), [git repo](https://githepia.hesge.ch/orestis.malaspin/cours_prog_conc)
## [Sciences en orientation logicielle](sol/index.html), [git repo](https://githepia.hesge.ch/orestis.malaspin/sci_log), [pdf](sol/cours.pdf)
### [Sciences en orientation logicielle: Travaux pratiques](sol/tp/index.html)
...
...
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