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
f5f035ba
Commit
f5f035ba
authored
Apr 10, 2019
by
Mart Lubbers
Browse files
implement environment list for cpm
parent
790de761
Pipeline
#20919
passed with stage
in 57 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
cpm/CpmLogic.icl
View file @
f5f035ba
...
...
@@ -244,7 +244,9 @@ doProjectAction _ _ _ _ world =
* Execute environment-specific actions
*/
doEnvironmentAction
::
String
String
EnvironmentAction
*
World
->
*
World
doEnvironmentAction
cleanhome
pwd
ListEnvironments
world
=
error
(
"Not implemented"
)
world
doEnvironmentAction
cleanhome
pwd
ListEnvironments
world
#
(
envs
,
world
)
=
readIDEEnvs
cleanhome
"IDEEnvs"
world
=
showLines
[
t
.
target_name
\\
t
<-
envs
]
world
doEnvironmentAction
cleanhome
pwd
(
ImportEnvironment
ef
)
world
=
error
(
"Not implemented"
)
world
doEnvironmentAction
cleanhome
pwd
(
RemoveEnvironment
en
)
world
=
error
(
"Not implemented"
)
world
doEnvironmentAction
cleanhome
pwd
(
ShowEnvironment
en
)
world
=
error
(
"Not implemented"
)
world
...
...
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