Skip to content

Instantly share code, notes, and snippets.

#include <qlogging.h>
#include <QDebug>
#include <QMetaClassInfo>
#include <QObject>
#include <QString>
#include <QStringList>
#include <iostream>
#include "serialize.h"
cmake_minimum_required(VERSION 3.15)
if (NOT(CMAKE_SCRIPT_MODE_FILE AND NOT CMAKE_PARENT_LIST_FILE))
message(FATAL_ERROR "UpdateSources.cmake must be run in script mode")
return()
endif()
set(_script_file "${CMAKE_CURRENT_LIST_FILE}")
get_filename_component(_root "${_script_file}" ABSOLUTE) # _root/cmake/UpdateSources.cmake
get_filename_component(_root "${_root}" DIRECTORY) # _root/cmake/
import sys
import pathlib
import re
import shlex
def main():
path = pathlib.Path(__file__).resolve().parent.parent
ignore_paths = [path.joinpath(p) for p in ["libraries", "program_info"]]
if len(sys.argv) > 1:
REPO="Prismlauncher"
OWNER="Prismlauncher"
PRS=$(
gh api graphql -f query='
query($repo: String!, $owner: String!, $endCursor: String) {
repository(name: $repo, owner: $owner) {
pullRequests(first: 100, after: $endCursor, states: [OPEN], labels: ["blocked"]) {
nodes {
number
bodyText