Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
clean-ide
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
6
Issues
6
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
clean-and-itasks
clean-ide
Commits
8561c5d4
Verified
Commit
8561c5d4
authored
May 16, 2019
by
Camil Staps
🚀
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
When executable name ends in .exe, remove this from generated bytecode file name
parent
bc1ed4c9
Pipeline
#23194
passed with stage
in 55 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
cpm/CpmLogic.icl
cpm/CpmLogic.icl
+6
-1
No files found.
cpm/CpmLogic.icl
View file @
8561c5d4
...
...
@@ -154,7 +154,12 @@ doProjectAction cleanhome pwd pn (SetExec exec) world
=
withProject
pwd
pn
cleanhome
(
PR_SetExecPath
exec
)
world
doProjectAction
cleanhome
pwd
pn
(
SetBytecode
Nothing
)
world
=
withProject
pwd
pn
cleanhome
(\
p
->
PR_SetByteCodePath
(
PR_GetExecPath
p
+++
".bc"
)
p
)
world
=
withProject
pwd
pn
cleanhome
(\
p
->
PR_SetByteCodePath
(
bytecode_path
(
PR_GetExecPath
p
))
p
)
world
where
bytecode_path
exec_path
|
exec_path
%
(
size
exec_path
-4
,
size
exec_path
-1
)
==
".exe"
=
exec_path
%
(
0
,
size
exec_path
-4
)
+++
"bc"
=
exec_path
+++
".bc"
doProjectAction
cleanhome
pwd
pn
(
SetBytecode
(
Just
bcfile
))
world
=
withProject
pwd
pn
cleanhome
(
PR_SetByteCodePath
bcfile
)
world
...
...
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