-
Notifications
You must be signed in to change notification settings - Fork 195
Expand file tree
/
Copy pathgithub-samples.cabal
More file actions
226 lines (190 loc) · 5.41 KB
/
github-samples.cabal
File metadata and controls
226 lines (190 loc) · 5.41 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
cabal-version: 2.2
name: github-samples
version: 0
category: Examples
synopsis: Samples for github package
license: BSD-3-Clause
license-file: LICENSE
maintainer: Andreas Abel
description: Various samples of github package
build-type: Simple
tested-with:
GHC == 9.14.1
GHC == 9.12.2
GHC == 9.10.2
GHC == 9.8.4
GHC == 9.6.7
GHC == 9.4.8
GHC == 9.2.8
GHC == 9.0.2
GHC == 8.10.7
GHC == 8.8.4
GHC == 8.6.5
GHC == 8.4.4
library
hs-source-dirs: src
ghc-options: -Wall
build-depends:
, base >=4.11 && <5
-- require base-4.11 because then (<>) is in Prelude
, github
, text
exposed-modules: Common
default-language: Haskell2010
executable github-operational
default-language: Haskell2010
main-is: Operational.hs
hs-source-dirs: Operational
ghc-options: -Wall -threaded
build-depends:
, base
, base-compat-batteries
, github
, github-samples
, http-client
, operational
, text
, transformers
, transformers-compat
common deps
default-language: Haskell2010
ghc-options:
-Wall
-threaded
build-depends:
, base
, base-compat-batteries
, base64-bytestring
, github
, github-samples
, text
, vector
executable github-add-team-membership-for
import: deps
main-is: AddTeamMembershipFor.hs
hs-source-dirs: Teams/Memberships
executable github-create-deploy-key
import: deps
main-is: CreateDeployKey.hs
hs-source-dirs: Repos/DeployKeys
executable github-create-issue
import: deps
main-is: CreateIssue.hs
hs-source-dirs: Issues
-- executable github-delete-deploy-key
-- import: deps
-- main-is: DeleteDeployKey.hs
-- hs-source-dirs: Repos/DeployKeys
-- executable github-delete-team
-- import: deps
-- main-is: DeleteTeam.hs
-- hs-source-dirs: Teams
-- executable github-delete-team-membership-for
-- import: deps
-- main-is: DeleteTeamMembershipFor.hs
-- hs-source-dirs: Teams/Memberships
executable github-enterprise-create-organization
import: deps
main-is: CreateOrganization.hs
hs-source-dirs: Enterprise
executable github-enterprise-rename-organization
import: deps
main-is: RenameOrganization.hs
hs-source-dirs: Enterprise
executable github-edit-team
import: deps
main-is: EditTeam.hs
hs-source-dirs: Teams
-- executable github-list-deploy-keys-for
-- import: deps
-- main-is: ListDeployKeys.hs
-- hs-source-dirs: Repos/DeployKeys
executable github-list-followers
import: deps
main-is: ListFollowers.hs
hs-source-dirs: Users/Followers
-- executable github-list-followers-example
-- import: deps
-- main-is: Example.hs
-- hs-source-dirs: Users/Followers
executable github-list-following
import: deps
main-is: ListFollowing.hs
hs-source-dirs: Users/Followers
executable github-list-team-current
import: deps
main-is: ListTeamsCurrent.hs
hs-source-dirs: Teams
-- executable github-list-team-repos
-- import: deps
-- main-is: ListRepos.hs
-- hs-source-dirs: Teams
-- executable github-repos-contents-example
-- import: deps
-- main-is: Contents.hs
-- hs-source-dirs: Repos
-- executable github-show-deploy-key
-- import: deps
-- main-is: ShowDeployKey.hs
-- hs-source-dirs: Repos/DeployKeys
executable github-show-repo-issues
import: deps
main-is: ShowRepoIssues.hs
hs-source-dirs: Issues
executable github-show-user
import: deps
main-is: ShowUser.hs
hs-source-dirs: Users
executable github-show-user-2
import: deps
main-is: ShowUser2.hs
hs-source-dirs: Users
executable github-search-code
import: deps
ghc-options: -Wall -threaded
main-is: SearchCode.hs
hs-source-dirs: Search
executable github-search-issues
import: deps
ghc-options: -Wall -threaded
main-is: SearchIssues.hs
hs-source-dirs: Search
executable github-search-repos
import: deps
ghc-options: -Wall -threaded
main-is: SearchRepos.hs
hs-source-dirs: Search
build-depends: time
-- executable github-team-membership-info-for
-- import: deps
-- main-is: TeamMembershipInfoFor.hs
-- hs-source-dirs: Teams/Memberships
executable github-teaminfo-for
import: deps
main-is: TeamInfoFor.hs
hs-source-dirs: Teams
executable github-unwatch-repo
import: deps
main-is: Unwatch.hs
ghc-options: -Wall -threaded
hs-source-dirs: Repos/Watching
-- executable github-create-public-ssh-key
-- import: deps
-- main-is: CreatePublicSSHKey.hs
-- hs-source-dirs: Users/PublicSSHKeys
-- executable github-delete-public-ssh-key
-- import: deps
-- main-is: DeletePublicSSHKey.hs
-- hs-source-dirs: Users/PublicSSHKeys
-- executable github-list-public-ssh-keys
-- import: deps
-- main-is: ListPublicSSHKeys.hs
-- hs-source-dirs: Users/PublicSSHKeys
-- executable github-get-public-ssh-key
-- import: deps
-- main-is: ShowPublicSSHKey.hs
-- hs-source-dirs: Users/PublicSSHKeys
-- executable github-repos-commits-diff
-- import: deps
-- main-is: GitDiff.hs
-- hs-source-dirs: Repos/Commits