Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mooc-rr
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
3e6bf7b47a05a05ae3d6af86121dcb5d
mooc-rr
Commits
3cb0e302
Commit
3cb0e302
authored
Apr 15, 2020
by
François Févotte
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Ex 03-3 : ajustements pour la reproductibilité
parent
62bcac45
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
25 deletions
+25
-25
Tools.jl
module3/exo3/Tools.jl
+25
-0
utils.jl
module3/exo3/utils.jl
+0
-25
No files found.
module3/exo3/Tools.jl
0 → 100644
View file @
3cb0e302
cd
(
@__DIR__
)
module
Tools
function
run_julia
(
args
...
)
cd
(
@__DIR__
)
julia
=
Base
.
julia_cmd
()[
1
]
run
(
`$julia --color=yes --startup-file=no --project $args`
)
nothing
end
setup
()
=
run_julia
(
"setup.jl"
)
compile
()
=
run_julia
(
"compile.jl"
)
function
weave
()
cd
(
@__DIR__
)
opts
=
String
[]
isfile
(
"Exercice.so"
)
&&
push!
(
opts
,
"-JExercice.so"
)
run_julia
(
opts
...
,
"make.jl"
)
end
end
module3/exo3/utils.jl
View file @
3cb0e302
...
...
@@ -93,28 +93,3 @@ function disp()
m
.
captures
[
1
]
end
|>
print
end
module
Exercice
function
run_julia
(
args
...
)
cd
(
@__DIR__
)
julia
=
Base
.
julia_cmd
()[
1
]
run
(
`$julia --color=yes --startup-file=no --project $args`
)
nothing
end
setup
()
=
run_julia
(
"setup.jl"
)
compile
()
=
run_julia
(
"compile.jl"
)
function
weave
()
cd
(
@__DIR__
)
opts
=
String
[]
isfile
(
"Exercice.so"
)
&&
push!
(
opts
,
"-JExercice.so"
)
run_julia
(
opts
...
,
"make.jl"
)
end
end
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment