Skip to content

Commit

Permalink
ci: add build files for all amazonka-* services
Browse files Browse the repository at this point in the history
  • Loading branch information
brendanhay committed Oct 2, 2021
1 parent ae2e691 commit f549354
Show file tree
Hide file tree
Showing 285 changed files with 2,976 additions and 148 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,5 +58,6 @@ jobs:
echo "build --remote_upload_local_results=true" >> .bazelrc.local
fi
# Avoid using shell.nix because we only need bazel, not all buildInputs.
nix-shell -p bazel --run \
'bazel build //... --host_platform=//tools/platforms:${{ matrix.ghc }}'
20 changes: 20 additions & 0 deletions amazonka-alexa-business/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
load("@rules_haskell//haskell:defs.bzl", "haskell_library")

haskell_library(
name = "amazonka-alexa-business",
srcs = glob(["gen/**/*.hs"]) + glob(
["src/**/*.hs"],
allow_empty = True,
),
ghcopts = [
"-Wall",
"-Wunused-packages",
"-fwarn-incomplete-uni-patterns",
"-fwarn-incomplete-record-updates",
],
visibility = ["//visibility:public"],
deps = [
"//amazonka",
"@stackage//:base",
],
)
2 changes: 1 addition & 1 deletion amazonka-alexa-business/amazonka-alexa-business.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ library
reexported-modules: Network.AWS
build-depends:
, amazonka >=1.6.1 && <1.6.2
, base >=4.13 && <5
, base >=4.12 && <5

test-suite amazonka-alexa-business-test
type: exitcode-stdio-1.0
Expand Down
20 changes: 20 additions & 0 deletions amazonka-apigateway/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
load("@rules_haskell//haskell:defs.bzl", "haskell_library")

haskell_library(
name = "amazonka-apigateway",
srcs = glob(["gen/**/*.hs"]) + glob(
["src/**/*.hs"],
allow_empty = True,
),
ghcopts = [
"-Wall",
"-Wunused-packages",
"-fwarn-incomplete-uni-patterns",
"-fwarn-incomplete-record-updates",
],
visibility = ["//visibility:public"],
deps = [
"//amazonka",
"@stackage//:base",
],
)
2 changes: 1 addition & 1 deletion amazonka-apigateway/amazonka-apigateway.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ library
reexported-modules: Network.AWS
build-depends:
, amazonka >=1.6.1 && <1.6.2
, base >=4.13 && <5
, base >=4.12 && <5

test-suite amazonka-apigateway-test
type: exitcode-stdio-1.0
Expand Down
20 changes: 20 additions & 0 deletions amazonka-apigatewaymanagementapi/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
load("@rules_haskell//haskell:defs.bzl", "haskell_library")

haskell_library(
name = "amazonka-apigatewaymanagementapi",
srcs = glob(["gen/**/*.hs"]) + glob(
["src/**/*.hs"],
allow_empty = True,
),
ghcopts = [
"-Wall",
"-Wunused-packages",
"-fwarn-incomplete-uni-patterns",
"-fwarn-incomplete-record-updates",
],
visibility = ["//visibility:public"],
deps = [
"//amazonka",
"@stackage//:base",
],
)
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ library
reexported-modules: Network.AWS
build-depends:
, amazonka >=1.6.1 && <1.6.2
, base >=4.13 && <5
, base >=4.12 && <5

test-suite amazonka-apigatewaymanagementapi-test
type: exitcode-stdio-1.0
Expand Down
20 changes: 20 additions & 0 deletions amazonka-application-autoscaling/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
load("@rules_haskell//haskell:defs.bzl", "haskell_library")

haskell_library(
name = "amazonka-application-autoscaling",
srcs = glob(["gen/**/*.hs"]) + glob(
["src/**/*.hs"],
allow_empty = True,
),
ghcopts = [
"-Wall",
"-Wunused-packages",
"-fwarn-incomplete-uni-patterns",
"-fwarn-incomplete-record-updates",
],
visibility = ["//visibility:public"],
deps = [
"//amazonka",
"@stackage//:base",
],
)
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ library
reexported-modules: Network.AWS
build-depends:
, amazonka >=1.6.1 && <1.6.2
, base >=4.13 && <5
, base >=4.12 && <5

test-suite amazonka-application-autoscaling-test
type: exitcode-stdio-1.0
Expand Down
20 changes: 20 additions & 0 deletions amazonka-appstream/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
load("@rules_haskell//haskell:defs.bzl", "haskell_library")

haskell_library(
name = "amazonka-appstream",
srcs = glob(["gen/**/*.hs"]) + glob(
["src/**/*.hs"],
allow_empty = True,
),
ghcopts = [
"-Wall",
"-Wunused-packages",
"-fwarn-incomplete-uni-patterns",
"-fwarn-incomplete-record-updates",
],
visibility = ["//visibility:public"],
deps = [
"//amazonka",
"@stackage//:base",
],
)
2 changes: 1 addition & 1 deletion amazonka-appstream/amazonka-appstream.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ library
reexported-modules: Network.AWS
build-depends:
, amazonka >=1.6.1 && <1.6.2
, base >=4.13 && <5
, base >=4.12 && <5

test-suite amazonka-appstream-test
type: exitcode-stdio-1.0
Expand Down
20 changes: 20 additions & 0 deletions amazonka-appsync/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
load("@rules_haskell//haskell:defs.bzl", "haskell_library")

haskell_library(
name = "amazonka-appsync",
srcs = glob(["gen/**/*.hs"]) + glob(
["src/**/*.hs"],
allow_empty = True,
),
ghcopts = [
"-Wall",
"-Wunused-packages",
"-fwarn-incomplete-uni-patterns",
"-fwarn-incomplete-record-updates",
],
visibility = ["//visibility:public"],
deps = [
"//amazonka",
"@stackage//:base",
],
)
2 changes: 1 addition & 1 deletion amazonka-appsync/amazonka-appsync.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ library
reexported-modules: Network.AWS
build-depends:
, amazonka >=1.6.1 && <1.6.2
, base >=4.13 && <5
, base >=4.12 && <5

test-suite amazonka-appsync-test
type: exitcode-stdio-1.0
Expand Down
20 changes: 20 additions & 0 deletions amazonka-athena/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
load("@rules_haskell//haskell:defs.bzl", "haskell_library")

haskell_library(
name = "amazonka-athena",
srcs = glob(["gen/**/*.hs"]) + glob(
["src/**/*.hs"],
allow_empty = True,
),
ghcopts = [
"-Wall",
"-Wunused-packages",
"-fwarn-incomplete-uni-patterns",
"-fwarn-incomplete-record-updates",
],
visibility = ["//visibility:public"],
deps = [
"//amazonka",
"@stackage//:base",
],
)
2 changes: 1 addition & 1 deletion amazonka-athena/amazonka-athena.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ library
reexported-modules: Network.AWS
build-depends:
, amazonka >=1.6.1 && <1.6.2
, base >=4.13 && <5
, base >=4.12 && <5

test-suite amazonka-athena-test
type: exitcode-stdio-1.0
Expand Down
20 changes: 20 additions & 0 deletions amazonka-autoscaling-plans/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
load("@rules_haskell//haskell:defs.bzl", "haskell_library")

haskell_library(
name = "amazonka-autoscaling-plans",
srcs = glob(["gen/**/*.hs"]) + glob(
["src/**/*.hs"],
allow_empty = True,
),
ghcopts = [
"-Wall",
"-Wunused-packages",
"-fwarn-incomplete-uni-patterns",
"-fwarn-incomplete-record-updates",
],
visibility = ["//visibility:public"],
deps = [
"//amazonka",
"@stackage//:base",
],
)
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ library
reexported-modules: Network.AWS
build-depends:
, amazonka >=1.6.1 && <1.6.2
, base >=4.13 && <5
, base >=4.12 && <5

test-suite amazonka-autoscaling-plans-test
type: exitcode-stdio-1.0
Expand Down
20 changes: 20 additions & 0 deletions amazonka-autoscaling/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
load("@rules_haskell//haskell:defs.bzl", "haskell_library")

haskell_library(
name = "amazonka-autoscaling",
srcs = glob(["gen/**/*.hs"]) + glob(
["src/**/*.hs"],
allow_empty = True,
),
ghcopts = [
"-Wall",
"-Wunused-packages",
"-fwarn-incomplete-uni-patterns",
"-fwarn-incomplete-record-updates",
],
visibility = ["//visibility:public"],
deps = [
"//amazonka",
"@stackage//:base",
],
)
2 changes: 1 addition & 1 deletion amazonka-autoscaling/amazonka-autoscaling.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ library
reexported-modules: Network.AWS
build-depends:
, amazonka >=1.6.1 && <1.6.2
, base >=4.13 && <5
, base >=4.12 && <5

test-suite amazonka-autoscaling-test
type: exitcode-stdio-1.0
Expand Down
20 changes: 20 additions & 0 deletions amazonka-batch/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
load("@rules_haskell//haskell:defs.bzl", "haskell_library")

haskell_library(
name = "amazonka-batch",
srcs = glob(["gen/**/*.hs"]) + glob(
["src/**/*.hs"],
allow_empty = True,
),
ghcopts = [
"-Wall",
"-Wunused-packages",
"-fwarn-incomplete-uni-patterns",
"-fwarn-incomplete-record-updates",
],
visibility = ["//visibility:public"],
deps = [
"//amazonka",
"@stackage//:base",
],
)
2 changes: 1 addition & 1 deletion amazonka-batch/amazonka-batch.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ library
reexported-modules: Network.AWS
build-depends:
, amazonka >=1.6.1 && <1.6.2
, base >=4.13 && <5
, base >=4.12 && <5

test-suite amazonka-batch-test
type: exitcode-stdio-1.0
Expand Down
20 changes: 20 additions & 0 deletions amazonka-budgets/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
load("@rules_haskell//haskell:defs.bzl", "haskell_library")

haskell_library(
name = "amazonka-budgets",
srcs = glob(["gen/**/*.hs"]) + glob(
["src/**/*.hs"],
allow_empty = True,
),
ghcopts = [
"-Wall",
"-Wunused-packages",
"-fwarn-incomplete-uni-patterns",
"-fwarn-incomplete-record-updates",
],
visibility = ["//visibility:public"],
deps = [
"//amazonka",
"@stackage//:base",
],
)
2 changes: 1 addition & 1 deletion amazonka-budgets/amazonka-budgets.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ library
reexported-modules: Network.AWS
build-depends:
, amazonka >=1.6.1 && <1.6.2
, base >=4.13 && <5
, base >=4.12 && <5

test-suite amazonka-budgets-test
type: exitcode-stdio-1.0
Expand Down
20 changes: 20 additions & 0 deletions amazonka-certificatemanager-pca/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
load("@rules_haskell//haskell:defs.bzl", "haskell_library")

haskell_library(
name = "amazonka-certificatemanager-pca",
srcs = glob(["gen/**/*.hs"]) + glob(
["src/**/*.hs"],
allow_empty = True,
),
ghcopts = [
"-Wall",
"-Wunused-packages",
"-fwarn-incomplete-uni-patterns",
"-fwarn-incomplete-record-updates",
],
visibility = ["//visibility:public"],
deps = [
"//amazonka",
"@stackage//:base",
],
)
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ library
reexported-modules: Network.AWS
build-depends:
, amazonka >=1.6.1 && <1.6.2
, base >=4.13 && <5
, base >=4.12 && <5

test-suite amazonka-certificatemanager-pca-test
type: exitcode-stdio-1.0
Expand Down
20 changes: 20 additions & 0 deletions amazonka-certificatemanager/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
load("@rules_haskell//haskell:defs.bzl", "haskell_library")

haskell_library(
name = "amazonka-certificatemanager",
srcs = glob(["gen/**/*.hs"]) + glob(
["src/**/*.hs"],
allow_empty = True,
),
ghcopts = [
"-Wall",
"-Wunused-packages",
"-fwarn-incomplete-uni-patterns",
"-fwarn-incomplete-record-updates",
],
visibility = ["//visibility:public"],
deps = [
"//amazonka",
"@stackage//:base",
],
)
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ library
reexported-modules: Network.AWS
build-depends:
, amazonka >=1.6.1 && <1.6.2
, base >=4.13 && <5
, base >=4.12 && <5

test-suite amazonka-certificatemanager-test
type: exitcode-stdio-1.0
Expand Down
Loading

0 comments on commit f549354

Please sign in to comment.