Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
clean-and-itasks
clean-ide
Commits
208a8444
Verified
Commit
208a8444
authored
May 21, 2019
by
Camil Staps
Browse files
Set ByteCode path in project files by default
parent
1ef6e7c7
Pipeline
#23469
passed with stage
in 1 minute and 10 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Pm/PmDriver.icl
View file @
208a8444
...
...
@@ -879,13 +879,13 @@ step intr (DLink ds=:{ok, newpaths, fileinfo, libsinfo, modpaths, abccache, proj
#
ps
=
showInfo
line
ps
=
continue
False
newpaths
False
fileinfo
libsinfo
modpaths
project
intr
(
abccache
,
ps
)
#
(
ok
,
ps
)
=
if
(
PR_GetByteCodePath
project
<>
""
)
(
ByteCodeLink
fileinfo
project
ps
)
(
True
,
ps
)
#
(
ok
,
ps
)
=
if
(
cgo
.
generate_bytecode
&&
PR_GetByteCodePath
project
<>
""
)
(
ByteCodeLink
fileinfo
project
ps
)
(
True
,
ps
)
|
not
ok
=
continue
False
newpaths
False
fileinfo
libsinfo
modpaths
project
intr
(
abccache
,
ps
)
#
(
ok
,
ps
)
=
if
(
lo
.
strip_bytecode
&&
PR_GetByteCodePath
project
<>
""
)
(
ByteCodeStrip
lo
.
keep_bytecode_symbols
fileinfo
project
ps
)
(
True
,
ps
)
#
(
ok
,
ps
)
=
if
(
cgo
.
generate_bytecode
&&
lo
.
strip_bytecode
&&
PR_GetByteCodePath
project
<>
""
)
(
ByteCodeStrip
lo
.
keep_bytecode_symbols
fileinfo
project
ps
)
(
True
,
ps
)
|
not
ok
=
continue
False
newpaths
False
fileinfo
libsinfo
modpaths
project
intr
(
abccache
,
ps
)
#
(
ok
,
ps
)
=
if
(
lo
.
prelink_bytecode
&&
PR_GetByteCodePath
project
<>
""
)
(
ByteCodePrelink
project
ps
)
(
True
,
ps
)
#
(
ok
,
ps
)
=
if
(
cgo
.
generate_bytecode
&&
lo
.
prelink_bytecode
&&
PR_GetByteCodePath
project
<>
""
)
(
ByteCodePrelink
project
ps
)
(
True
,
ps
)
|
not
ok
=
continue
False
newpaths
False
fileinfo
libsinfo
modpaths
project
intr
(
abccache
,
ps
)
...
...
Pm/PmProject.icl
View file @
208a8444
...
...
@@ -113,6 +113,7 @@ PR_NewProject main_module_file_name eo compilerOptions cgo ao prjpaths linkOptio
,
execpath
=
IF_WINDOWS
(
"{Project}"
+++
DirSeparatorString
+++
add_dot_exe_if_necessary
modname
)
// Win
(
"{Project}"
+++
DirSeparatorString
+++
modname
)
// Mac
,
bytecode_path
=
"{Project}"
+++
DirSeparatorString
+++
modname
+++
".bc"
,
inflist
=
{
mn
=
modname
,
info
=
{
dir
=
"{Project}"
//dirname
...
...
Write
Preview
Supports
Markdown
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