Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Persefone desktop
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Package registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Persefone
Persefone desktop
Commits
2b358b5a
Commit
2b358b5a
authored
1 year ago
by
Marco Matthies
Browse files
Options
Downloads
Patches
Plain Diff
Only call precompile when doing precompilation
parent
585962cc
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/PersefoneDesktop.jl
+10
-5
10 additions, 5 deletions
src/PersefoneDesktop.jl
with
10 additions
and
5 deletions
src/PersefoneDesktop.jl
+
10
−
5
View file @
2b358b5a
...
@@ -27,6 +27,9 @@ using QML: QML, JuliaPropertyMap, QString, QTimer, @emit, @qmlfunction,
...
@@ -27,6 +27,9 @@ using QML: QML, JuliaPropertyMap, QString, QTimer, @emit, @qmlfunction,
using
ResumableFunctions
:
ResumableFunctions
,
@resumable
,
@yield
using
ResumableFunctions
:
ResumableFunctions
,
@resumable
,
@yield
using
TOML
:
TOML
using
TOML
:
TOML
export
launch
# To visualise dependencies, see here: https://tfiers.github.io/PkgGraph.jl/v0.6/
# To visualise dependencies, see here: https://tfiers.github.io/PkgGraph.jl/v0.6/
include
(
"variables.jl"
)
include
(
"variables.jl"
)
...
@@ -34,10 +37,12 @@ include("logic.jl")
...
@@ -34,10 +37,12 @@ include("logic.jl")
include
(
"config.jl"
)
include
(
"config.jl"
)
include
(
"GUI.jl"
)
include
(
"GUI.jl"
)
precompile
(
launch
,
())
function
_precompile
()
precompile
(
render_map
,
(
Any
,))
#what's the input type?
ccall
(
:
jl_generating_output
,
Cint
,
())
==
1
||
return
nothing
precompile
(
launch
,
())
export
precompile
(
render_map
,
(
Any
,))
#what's the input type?
launch
return
end
_precompile
()
end
end
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