Commit b814ce91 authored by Alfredo Di Napoli's avatar Alfredo Di Napoli

RIP package.yaml

parent 7d2a6d17
...@@ -29,7 +29,6 @@ deps: ...@@ -29,7 +29,6 @@ deps:
- target - target
script: script:
- echo "Building the project from '$CI_PROJECT_DIR'" - 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" - nix-shell --run "LC_ALL=C.UTF-8 stack build --no-terminal --haddock --no-haddock-deps --only-dependencies --fast"
docs: docs:
...@@ -42,7 +41,6 @@ docs: ...@@ -42,7 +41,6 @@ docs:
- .stack-work/ - .stack-work/
- target - target
script: script:
- hpack
- nix-shell --run "LC_ALL=C.UTF-8 stack build --no-terminal --haddock --no-haddock-deps --fast" - 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 - cp -R "$(stack path --local-install-root)"/doc ./output
artifacts: artifacts:
...@@ -61,7 +59,6 @@ test: ...@@ -61,7 +59,6 @@ test:
- .stack-work/ - .stack-work/
- target - target
script: script:
- hpack
- nix-shell --run "stack test --no-terminal --fast" - nix-shell --run "stack test --no-terminal --fast"
# TOOO # TOOO
...@@ -78,7 +75,6 @@ cabal: ...@@ -78,7 +75,6 @@ cabal:
- dist-newstyle/ - dist-newstyle/
- target - target
script: script:
- hpack
- nix-shell --run "./bin/update-cabal-project && cabal v2-build --dry-run" - nix-shell --run "./bin/update-cabal-project && cabal v2-build --dry-run"
allow_failure: false allow_failure: false
...@@ -47,7 +47,7 @@ cd haskell-gargantext ...@@ -47,7 +47,7 @@ cd haskell-gargantext
#### 1. Installation #### 1. Installation
This project can be built with either Stack or Cabal. For historical 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". 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 However, it's always possible to generate a `cabal.project` thanks
to [stack2cabal](https://hackage.haskell.org/package/stack2cabal). to [stack2cabal](https://hackage.haskell.org/package/stack2cabal).
......
cabal-version: 1.12 cabal-version: 1.12
-- This file has been generated from package.yaml by hpack version 0.34.6.
--
-- see: https://github.com/sol/hpack
name: gargantext name: gargantext
version: 0.0.6.9.9.7 version: 0.0.6.9.9.7
synopsis: Search, map, share synopsis: Search, map, share
...@@ -29,6 +25,7 @@ data-files: ...@@ -29,6 +25,7 @@ data-files:
test-data/phylo/bpa_phylo_test.json test-data/phylo/bpa_phylo_test.json
test-data/phylo/open_science.json test-data/phylo/open_science.json
.clippy.dhall .clippy.dhall
library library
exposed-modules: exposed-modules:
Gargantext Gargantext
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment