-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(ci): Update CI from template [skip ci]
- Loading branch information
GitLab CI
committed
Feb 14, 2024
1 parent
922a1d5
commit eebe532
Showing
13 changed files
with
118 additions
and
20 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 |
---|---|---|
|
@@ -37,4 +37,4 @@ BEGIN { | |
} | ||
{ | ||
exit 1 | ||
} | ||
} |
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 |
---|---|---|
@@ -0,0 +1,51 @@ | ||
function append_variable(name, value) { | ||
if (variables[name] != "") { | ||
variables[name] = variables[name] "," value | ||
} else { | ||
variables[name] = value | ||
} | ||
} | ||
|
||
BEGIN { | ||
# "," separated | ||
variables["pkgnames"]="" | ||
variables["dependencies"]="" | ||
in_pkgbase=0 | ||
} | ||
|
||
/^\tprovides = / { | ||
if (match($0, /^\tprovides = ([a-zA-Z0-9_-]+)(=.*)?$/, o)) { | ||
append_variable("pkgnames", o[1]) | ||
} | ||
} | ||
|
||
/^pkgname = / { | ||
in_pkgbase=0 | ||
if (match($0, /^pkgname = ([a-zA-Z0-9_-]+)$/, o)) { | ||
append_variable("pkgnames", o[1]) | ||
} | ||
} | ||
|
||
/^pkgbase = / { | ||
in_pkgbase=1 | ||
} | ||
|
||
/^\tdepends = / { | ||
if (in_pkgbase) { | ||
if (match($0, /^\tdepends = ([a-zA-Z0-9_-]+)([>=<].*)?$/, o)) { | ||
append_variable("dependencies", o[1]) | ||
} | ||
} | ||
} | ||
|
||
/^\tmakedepends = / { | ||
if (in_pkgbase) { | ||
if (match($0, /^\tmakedepends = ([a-zA-Z0-9_-]+)([>=<].*)?$/, o)) { | ||
append_variable("dependencies", o[1]) | ||
} | ||
} | ||
} | ||
|
||
END { | ||
print variables["pkgnames"] " " variables["dependencies"] | ||
} |
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 |
---|---|---|
|
@@ -29,4 +29,4 @@ function check_sum(sum) { | |
next | ||
} | ||
} | ||
} |
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 |
---|---|---|
|
@@ -71,4 +71,4 @@ function update_source(source) { | |
update_source($0) | ||
} | ||
} | ||
} |
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 |
---|---|---|
|
@@ -26,4 +26,4 @@ BEGIN { | |
} | ||
} | ||
} | ||
1 | ||
1 |
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
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
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
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
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
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
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
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