Skip to content

Commit

Permalink
let's make it work as it should - and fingers crossed! lol
Browse files Browse the repository at this point in the history
  • Loading branch information
drkameleon committed Nov 7, 2023
1 parent 646d1e0 commit 5952990
Showing 1 changed file with 22 additions and 2 deletions.
24 changes: 22 additions & 2 deletions tools/ci.art
Original file line number Diff line number Diff line change
@@ -1,6 +1,26 @@
inspect # "packages/list.art"
packages: # "packages/list.art"
do relative "getrepodetails.art"

do ::
IsCI?: true
getGH "repos/arturo-lang/dummy-package"
cnt: 1
total: size packages

hasError?: false

loop packages [name,location][
prints ["[" cnt "/" total "]"]
prints color #cyan "- Processing: "
prints pad.right 20

[owner,repo]: split.by:"," location

(data: <= getRepoInfo owner repo)? -> print color.green "[ OK ]"
[
print color.red "[ ERROR ]"
hasError?: true
]
]

if hasError? ->
panic.code:1 "Something went wrong. Let's stop here."

0 comments on commit 5952990

Please sign in to comment.