Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
G
ghcup-hs
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
Haskell
ghcup-hs
Commits
d3505d4e
Verified
Commit
d3505d4e
authored
4 years ago
by
Julian Ospald
Browse files
Options
Downloads
Patches
Plain Diff
Bump version to 0.1.13
parent
9297d1a2
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
bootstrap-haskell
+1
-1
1 addition, 1 deletion
bootstrap-haskell
ghcup.cabal
+4
-2
4 additions, 2 deletions
ghcup.cabal
lib/GHCup/Version.hs
+5
-3
5 additions, 3 deletions
lib/GHCup/Version.hs
with
10 additions
and
6 deletions
bootstrap-haskell
+
1
−
1
View file @
d3505d4e
...
...
@@ -69,7 +69,7 @@ _done() {
download_ghcup
()
{
_plat
=
"
$(
uname
-s
)
"
_arch
=
$(
uname
-m
)
_ghver
=
"0.1.1
2
"
_ghver
=
"0.1.1
3
"
_base_url
=
"https://downloads.haskell.org/~ghcup"
case
"
${
_plat
}
"
in
...
...
This diff is collapsed.
Click to expand it.
ghcup.cabal
+
4
−
2
View file @
d3505d4e
cabal-version: 3.0
name: ghcup
version: 0.1.1
2
version: 0.1.1
3
synopsis: ghc toolchain installer as an exe/library
description:
A rewrite of the shell script ghcup, for providing
...
...
@@ -336,11 +336,13 @@ library
GHCup.Utils.Version.QQ
GHCup.Version
other-modules:
Paths_ghcup
default-extensions:
Strict
StrictData
-- other-modules:
-- other-extensions:
hs-source-dirs: lib
...
...
This diff is collapsed.
Click to expand it.
lib/GHCup/Version.hs
+
5
−
3
View file @
d3505d4e
...
...
@@ -12,13 +12,15 @@ Portability : POSIX
-}
module
GHCup.Version
where
import
GHCup.Utils.Version.QQ
import
GHCup.Types
import
Paths_ghcup
(
version
)
import
Data.Versions
import
Data.Version
(
Version
(
versionBranch
))
import
Data.Versions
hiding
(
version
)
import
URI.ByteString
import
URI.ByteString.QQ
import
qualified
Data.List.NonEmpty
as
NE
import
qualified
Data.Text
as
T
-- | This reflects the API version of the YAML.
...
...
@@ -27,7 +29,7 @@ ghcupURL = [uri|https://www.haskell.org/ghcup/data/ghcup-0.0.4.yaml|]
-- | The current ghcup version.
ghcUpVer
::
PVP
ghcUpVer
=
[
pver
|
0.1.12
|]
ghcUpVer
=
PVP
.
NE
.
fromList
.
fmap
fromIntegral
$
versionBranch
version
-- | ghcup version as numeric string.
numericVer
::
String
...
...
This diff is collapsed.
Click to expand it.
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