Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
H
hpc-bin
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
hpc
hpc-bin
Commits
20f5d124
Commit
20f5d124
authored
2 years ago
by
BinderDavid
Browse files
Options
Downloads
Patches
Plain Diff
Split executable from library
parent
605bb487
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!12
Split executable from library
Pipeline
#57670
passed
2 years ago
Stage: test
Changes
3
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
app/Main.hs
+6
-0
6 additions, 0 deletions
app/Main.hs
hpc-bin.cabal
+15
-6
15 additions, 6 deletions
hpc-bin.cabal
src/HpcMain.hs
+1
-0
1 addition, 0 deletions
src/HpcMain.hs
with
22 additions
and
6 deletions
app/Main.hs
0 → 100644
+
6
−
0
View file @
20f5d124
module
Main
where
import
qualified
HpcMain
as
HPC
main
::
IO
()
main
=
HPC
.
main
\ No newline at end of file
This diff is collapsed.
Click to expand it.
hpc-bin.cabal
+
15
−
6
View file @
20f5d124
...
...
@@ -22,11 +22,11 @@ Flag build-tool-depends
Description: Use build-tool-depends
Default: True
executable hpc
D
efault-
L
anguage: Haskell2010
library
d
efault-
l
anguage: Haskell2010
hs-source-dirs: src
Main-Is: HpcMain.hs
Other-Modules:
HpcParser
exposed-modules:
HpcParser
HpcCombine
HpcDraft
HpcFlags
...
...
@@ -36,11 +36,12 @@ executable hpc
HpcReport
HpcShowTix
HpcUtils
Paths_hpc_b
in
HpcMa
in
other-modules: Paths_hpc_bin
autogen-modules: Paths_hpc_bin
B
uild-
D
epends: base >= 4 && < 5,
b
uild-
d
epends: base >= 4 && < 5,
directory >= 1 && < 1.4,
filepath >= 1 && < 1.5,
containers >= 0.1 && < 0.7,
...
...
@@ -49,3 +50,11 @@ executable hpc
if flag(build-tool-depends)
build-tool-depends: happy:happy >= 1.20.0
executable hpc
default-language: Haskell2010
hs-source-dirs: app
main-is: Main.hs
build-depends: base >= 4 && < 5,
hpc-bin
This diff is collapsed.
Click to expand it.
src/HpcMain.hs
+
1
−
0
View file @
20f5d124
{-# LANGUAGE ScopedTypeVariables, TupleSections #-}
module
HpcMain
(
main
)
where
-- (c) 2007 Andy Gill
-- Main driver for Hpc
...
...
This diff is collapsed.
Click to expand it.
BinderDavid
@BinderDavid
mentioned in issue
#16
·
1 year ago
mentioned in issue
#16
mentioned in issue #16
Toggle commit list
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment