-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
let's make it work as it should - and fingers crossed! lol
- Loading branch information
1 parent
646d1e0
commit 5952990
Showing
1 changed file
with
22 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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." |