Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
curry-packages
currypp
Commits
ba2ef664
Commit
ba2ef664
authored
Dec 16, 2020
by
Michael Hanus
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Dependency on `.cpm/bin` removed in test
parent
a15e7c38
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
examples/IntegratedSQLCode/test.sh
examples/IntegratedSQLCode/test.sh
+1
-1
src/Main.curry
src/Main.curry
+3
-3
No files found.
examples/IntegratedSQLCode/test.sh
View file @
ba2ef664
...
...
@@ -14,7 +14,7 @@ else
exit
1
fi
ERD2CURRY
=
$HOME
/.cpm/bin/
erd2curry
ERD2CURRY
=
`
which
erd2curry
`
if
[
!
-x
"
$ERD2CURRY
"
]
;
then
echo
"SQL integration not tested: no executable 'erd2curry' found!"
echo
"To run the SQL integration test, install 'erd2curry' by:"
...
...
src/Main.curry
View file @
ba2ef664
...
...
@@ -7,7 +7,7 @@
--- is supported (option `foreigncode`, see module `Translator`).
---
--- @author Michael Hanus
--- @version
Octo
ber 20
19
--- @version
Decem
ber 20
20
------------------------------------------------------------------------------
import Control.Monad ( when )
...
...
@@ -32,7 +32,7 @@ import TransICode ( translateIntCode )
cppBanner :: String
cppBanner = unlines [bannerLine,bannerText,bannerLine]
where
bannerText = "Curry Preprocessor (version of 1
5
/12/2020)"
bannerText = "Curry Preprocessor (version of 1
6
/12/2020)"
bannerLine = take (length bannerText) (repeat '=')
--- Preprocessor targets, i.e., kind of entities to be preprocessed:
...
...
@@ -144,7 +144,7 @@ showUsage args = do
usageText :: String
usageText = unlines $
[ ""
, "Usage: curry
pp <OrgFileName> <InputFilePath> <OutputFilePath> <options>\n"
, "Usage: currypp <OrgFileName> <InputFilePath> <OutputFilePath> <options>\n"
, "<OrgFileName> : name of original program source file"
, "<InputFilePath> : name of the actual input file"
, "<OutputFilePath>: name of the file where output should be written\n"
...
...
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