Skip to content

Commit

Permalink
feat: Add hub-settings tool to sync settings from yaml to github.
Browse files Browse the repository at this point in the history
  • Loading branch information
iphydf committed Jan 2, 2024
1 parent 15b1544 commit 83a42f7
Show file tree
Hide file tree
Showing 12 changed files with 809 additions and 2 deletions.
4 changes: 4 additions & 0 deletions BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ haskell_library(
"//third_party/haskell:QuickCheck",
"//third_party/haskell:aeson",
"//third_party/haskell:base",
"//third_party/haskell:casing",
"//third_party/haskell:generic-arbitrary",
"//third_party/haskell:quickcheck-text",
"//third_party/haskell:text",
],
Expand Down Expand Up @@ -64,6 +66,7 @@ haskell_library(
"//third_party/haskell:aeson",
"//third_party/haskell:base",
"//third_party/haskell:bytestring",
"//third_party/haskell:casing",
"//third_party/haskell:containers",
"//third_party/haskell:cryptohash",
"//third_party/haskell:directory",
Expand All @@ -83,6 +86,7 @@ haskell_library(
"//third_party/haskell:unordered-containers",
"//third_party/haskell:uuid",
"//third_party/haskell:vector",
"//third_party/haskell:yaml",
],
)

Expand Down
7 changes: 7 additions & 0 deletions admin/push
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/usr/bin/env bash

SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"

set -eux

bazel run //hs-github-tools/tools:hub-settings -- "$SCRIPT_DIR/settings.yaml" "$@"
Loading

0 comments on commit 83a42f7

Please sign in to comment.