Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
gargantext-ihaskell
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gargantext
gargantext-ihaskell
Commits
6659dd83
Commit
6659dd83
authored
Jun 16, 2016
by
Sumit Sahrawat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix examples & add them to travis build
parent
8e381a7f
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
0 deletions
+11
-0
.travis.yml
.travis.yml
+3
-0
Calc.hs
ipython-kernel/examples/Calc.hs
+4
-0
Simple.hs
ipython-kernel/examples/Simple.hs
+4
-0
No files found.
.travis.yml
View file @
6659dd83
...
@@ -72,6 +72,9 @@ script:
...
@@ -72,6 +72,9 @@ script:
cd "$TOP";
cd "$TOP";
done
done
# Ensure that ipython-kernel examples build successfully.
stack build ipython-kernel --flag ipython-kernel:examples
# Ensure that IHaskell notebook remains unchanged.
# Ensure that IHaskell notebook remains unchanged.
# Run the notebook to regenerate the outputs, then compare the new notebook to the old one.
# Run the notebook to regenerate the outputs, then compare the new notebook to the old one.
stack install --stack-yaml=stack-full.yaml
stack install --stack-yaml=stack-full.yaml
...
...
ipython-kernel/examples/Calc.hs
View file @
6659dd83
...
@@ -233,6 +233,10 @@ mkConfig var = KernelConfig
...
@@ -233,6 +233,10 @@ mkConfig var = KernelConfig
,
inspectInfo
=
langInfo
,
inspectInfo
=
langInfo
,
run
=
parseAndRun
,
run
=
parseAndRun
,
debug
=
False
,
debug
=
False
,
kernelBanner
=
"Expanded Hutton's Razor"
,
kernelProtocolVersion
=
"5.0"
,
kernelImplName
=
"expanded_huttons_razor"
,
kernelImplVersion
=
"0.0"
}
}
where
where
displayRes
(
Left
err
)
=
displayRes
(
Left
err
)
=
...
...
ipython-kernel/examples/Simple.hs
View file @
6659dd83
...
@@ -130,6 +130,10 @@ simpleConfig = KernelConfig
...
@@ -130,6 +130,10 @@ simpleConfig = KernelConfig
,
inspectInfo
=
languageInspect
,
inspectInfo
=
languageInspect
,
run
=
languageRun
,
run
=
languageRun
,
debug
=
False
,
debug
=
False
,
kernelBanner
=
"Simple Arithmetic Expressions"
,
kernelProtocolVersion
=
"5.0"
,
kernelImplName
=
"funcalc"
,
kernelImplVersion
=
"0.0"
}
}
main
::
IO
()
main
::
IO
()
...
...
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