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
18b9c60d
Commit
18b9c60d
authored
Feb 27, 2013
by
Jurrien Stutterheim
Browse files
Add target name to error
parent
0af08346
Changes
2
Hide whitespace changes
Inline
Side-by-side
BatchBuild/BatchBuild.icl
View file @
18b9c60d
...
...
@@ -176,7 +176,7 @@ getStringArg arg [BBString x v:xs]
getStringArg
arg
[_:
xs
]
=
getStringArg
arg
xs
getIntArg
::
String
[
BBArg
]
->
Maybe
Int
getIntArg
_
[]
=
Nothing
getIntArg
_
[]
=
Nothing
getIntArg
arg
[
BBInt
x
v
:
xs
]
|
arg
===
x
=
Just
v
getIntArg
arg
[_:
xs
]
=
getIntArg
arg
xs
...
...
BatchBuild/IdeState.icl
View file @
18b9c60d
...
...
@@ -61,7 +61,7 @@ instance FileEnv GeneralSt where
initGeneral
::
!
Bool
!
CompilerOptions
!
String
!
String
!
Project
![
Target
]
!*
File
->
*
General
initGeneral
be_verb
comp_opts
application_path
project_path
project
targets
logfile
|
isNothing
target_index
=
abort
(
"Unable to find project environment in available environments.
\n
"
)
|
isNothing
target_index
=
abort
(
"Unable to find project environment
for target '"
+++
target_name
+++
"'
in available environments.
\n
"
)
=
{
prefs
=
prefs
,
project
=
project
...
...
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