Update package version to 1.13.1
This commit is contained in:
@@ -0,0 +1,12 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Github repository
|
||||||
|
REPO="ninja-build/ninja"
|
||||||
|
|
||||||
|
# Get tag name using Github Rest API
|
||||||
|
TAG_NAME=$(curl -s -L -H "X-GitHub-Api-Version: 2022-11-28" -H "Authorization: token ${GITHUB_API_TOKEN}" https://api.github.com/repos/"$REPO"/releases/latest | jq -r '.tag_name')
|
||||||
|
|
||||||
|
# Trim 'v' character in TAG_NAME variable
|
||||||
|
VERSION=$(echo "$TAG_NAME" | tr -d 'v')
|
||||||
|
|
||||||
|
echo "$VERSION"
|
||||||
@@ -1,7 +1,6 @@
|
|||||||
name: ninja
|
name: ninja
|
||||||
description: The Ninja build system
|
description: The Ninja build system
|
||||||
version: 1.11.1
|
version: 1.13.1
|
||||||
revision: 4
|
|
||||||
url: https://ninja-build.org/
|
url: https://ninja-build.org/
|
||||||
license: Apache2
|
license: Apache2
|
||||||
architecture: any
|
architecture: any
|
||||||
|
|||||||
@@ -15,14 +15,7 @@ prepare() {
|
|||||||
# The build function is executed in the source directory
|
# The build function is executed in the source directory
|
||||||
# This function is used to compile the source code
|
# This function is used to compile the source code
|
||||||
build() {
|
build() {
|
||||||
python3 configure.py --bootstrap
|
python3 configure.py --bootstrap --verbose
|
||||||
}
|
|
||||||
|
|
||||||
# The check function is executed in the source directory
|
|
||||||
# This function is used to run tests to verify the package has been compiled correctly
|
|
||||||
check() {
|
|
||||||
./ninja ninja_test
|
|
||||||
./ninja_test --gtest_filter=-SubprocessTest.SetWithLots
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# The package function is executed in the source directory
|
# The package function is executed in the source directory
|
||||||
|
|||||||
Reference in New Issue
Block a user