Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
haskell-gargantext
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
Grégoire Locqueville
haskell-gargantext
Commits
79be5b44
Commit
79be5b44
authored
Jun 28, 2023
by
Alfredo Di Napoli
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
RIP package.yaml
parent
aeed0f7b
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
3 additions
and
589 deletions
+3
-589
.gitlab-ci.yml
.gitlab-ci.yml
+0
-4
README.md
README.md
+1
-1
update-cabal-project
bin/update-cabal-project
+0
-1
gargantext.cabal
gargantext.cabal
+2
-1
package.yaml
package.yaml
+0
-582
No files found.
.gitlab-ci.yml
View file @
79be5b44
...
...
@@ -29,7 +29,6 @@ deps:
-
target
script
:
-
echo "Building the project from '$CI_PROJECT_DIR'"
-
hpack
-
nix-shell --run "LC_ALL=C.UTF-8 stack build --no-terminal --haddock --no-haddock-deps --only-dependencies --fast"
docs
:
...
...
@@ -42,7 +41,6 @@ docs:
-
.stack-work/
-
target
script
:
-
hpack
-
nix-shell --run "LC_ALL=C.UTF-8 stack build --no-terminal --haddock --no-haddock-deps --fast"
-
cp -R "$(stack path --local-install-root)"/doc ./output
artifacts
:
...
...
@@ -61,7 +59,6 @@ test:
-
.stack-work/
-
target
script
:
-
hpack
-
nix-shell --run "stack test --no-terminal --fast"
# TOOO
...
...
@@ -78,7 +75,6 @@ cabal:
-
dist-newstyle/
-
target
script
:
-
hpack
-
nix-shell --run "./bin/update-cabal-project && cabal v2-build --dry-run"
allow_failure
:
false
README.md
View file @
79be5b44
...
...
@@ -47,7 +47,7 @@ cd haskell-gargantext
#### 1. Installation
This project can be built with either Stack or Cabal. For historical
reasons, we generate a
`cabal.project`
from the
`
package
.yaml`
, and
reasons, we generate a
`cabal.project`
from the
`
stack
.yaml`
, and
we do not commit the former to the repo, to have a single "source of truth".
However, it's always possible to generate a
`cabal.project`
thanks
to
[
stack2cabal
](
https://hackage.haskell.org/package/stack2cabal
)
.
...
...
bin/update-cabal-project
View file @
79be5b44
#!/usr/bin/env bash
cabal v2-update
'hackage.haskell.org,2023-06-25T00:00:00Z'
cabal v2-install hpack-0.35.0
--overwrite-policy
=
always
cabal v2-install stack2cabal-1.0.14
--overwrite-policy
=
always
stack2cabal
--no-run-hpack
-p
'2023-06-25'
gargantext.cabal
View file @
79be5b44
cabal-version: 1.12
-- This file has been generated from package.yaml by hpack version 0.3
4.6
.
-- This file has been generated from package.yaml by hpack version 0.3
5.0
.
--
-- see: https://github.com/sol/hpack
...
...
@@ -29,6 +29,7 @@ data-files:
test-data/phylo/bpa_phylo_test.json
test-data/phylo/open_science.json
.clippy.dhall
library
exposed-modules:
Gargantext
...
...
package.yaml
deleted
100644 → 0
View file @
aeed0f7b
This diff is collapsed.
Click to expand it.
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