Skip to content
This repository was archived by the owner on Apr 1, 2025. It is now read-only.

Commit 311c56f

Browse files
author
Patrick Thomson
committed
Use source-repository-package to pin Git deps in cabal.
Right now our CI build cycle time is ~20 minutes, mostly because we're rebuilding our vendored packages every time. This should help, at least to some degree, with that.
1 parent c562987 commit 311c56f

File tree

5 files changed

+15
-14
lines changed

5 files changed

+15
-14
lines changed

.gitmodules

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,3 @@
1-
[submodule "vendor/hspec-expectations-pretty-diff"]
2-
path = vendor/hspec-expectations-pretty-diff
3-
url = https://github.com/rewinfrey/hspec-expectations-pretty-diff
41
[submodule "vendor/haskell-tree-sitter"]
52
path = vendor/haskell-tree-sitter
63
url = https://github.com/tree-sitter/haskell-tree-sitter.git
7-
[submodule "vendor/proto3-suite"]
8-
path = vendor/proto3-suite
9-
url = https://github.com/joshvera/proto3-suite.git
10-
[submodule "vendor/proto3-wire"]
11-
path = vendor/proto3-wire
12-
url = https://github.com/joshvera/proto3-wire.git

cabal.project

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1-
packages: vendor/* vendor/proto3-suite vendor/haskell-tree-sitter/languages/* semantic.cabal semantic-core/semantic-core.cabal
1+
packages: vendor/* vendor/haskell-tree-sitter/languages/* . semantic-core
22

3-
package proto3-suite
3+
source-repository-package
4+
type: git
5+
location: https://github.com/joshvera/proto3-suite.git
6+
tag: e13c7099789867733f42f47a25349a826937d870
7+
8+
source-repository-package
9+
type: git
10+
location: https://github.com/joshvera/proto3-wire.git
11+
tag: 84664e22f01beb67870368f1f88ada5d0ad01f56
12+
13+
source-repository-package
14+
type: git
15+
location: https://github.com/rewinfrey/hspec-expectations-pretty-diff
16+
tag: 94af5871c24ba319f7f72fefa53c1a4d074c9a29
Lines changed: 0 additions & 1 deletion
This file was deleted.

vendor/proto3-suite

Lines changed: 0 additions & 1 deletion
This file was deleted.

vendor/proto3-wire

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)