Skip to content

Commit

Permalink
Merge branch 'chapel-lang:master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
astatide authored Jun 10, 2024
2 parents 41257ed + dcc9e0e commit 2ca7bb5
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 7 deletions.
5 changes: 0 additions & 5 deletions .github/workflows/masonRegCI.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,6 @@ jobs:
- name: Run checkTomlScript
run: |
bash ./checkTomls.bash
- name: Reconfigure git to use HTTPS
run: >
git config --global url."https://github.com/".insteadof
ssh://git@github.com/
- name: CI Check package
run: |
bash ./util/runMasonCI.bash
12 changes: 12 additions & 0 deletions Bricks/ForwardModeAD/0.2.0.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@

[brick]
authors = "Luca Ferranti"
chplVersion = "2.0.0"
license = "MIT"
name = "ForwardModeAD"
source = "git@github.com:lucaferranti/ForwardModeAD.git"
type = "library"
version = "0.2.0"

[dependencies]

4 changes: 2 additions & 2 deletions util/runMasonCI.bash
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ makeCheckAndMason () {
# Parses the last merge commit, getting the most recent package added to the registry
checkPackage () {
cd ..
package=$(git diff --name-only HEAD HEAD~1)
package=$(git diff --name-only HEAD HEAD~1 | grep -E '.*\.toml')
end=".end"
path="$package$end"
cd "$(dirname "$path")" || exit 1
Expand All @@ -40,6 +40,7 @@ checkPackage () {
echo "source value: $source"
# Strips the quotes off of the source
fixed=$(echo "$source" | tr -d '"' | awk '{$1=$1};1')
fixed="${fixed/git@github.com:/"https://github.com/"}"
echo "adjusted source to 'fixed' value: $fixed"
# Clones the source
git clone "$fixed" newPackage
Expand All @@ -57,4 +58,3 @@ mason update

mason publish --ci-check
exit $?

0 comments on commit 2ca7bb5

Please sign in to comment.