Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3bb50d2
commit 3cc048f
Showing
8 changed files
with
33 additions
and
22 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,12 +1,14 @@ | ||
language: python | ||
env: | ||
matrix: | ||
- PYVER=python34_venv_arch | ||
- PYVER=python35_ubuntu_1604 | ||
- PYVER=python36_ubuntu_1804 | ||
- PYVER=current_arch | ||
- PYVER=python34_venv_arch NO_SHELLCHECK=1 | ||
- PYVER=python35_ubuntu_1604 NO_SHELLCHECK=1 | ||
- PYVER=python36_ubuntu_1804 NO_SHELLCHECK=1 | ||
- PYVER=current_arch NO_SHELLCHECK=0 | ||
services: | ||
- docker | ||
script: | ||
install: | ||
- mv ./dockerfiles/* ./ | ||
- docker build . -f Dockerfile_$PYVER | ||
- docker build . -f Dockerfile_$PYVER -t oomox | ||
script: | ||
- docker run --entrypoint ./maintenance_scripts/run_ci.sh oomox:latest --env NO_SHELLCHECK=$NO_SHELLCHECK |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
#!/bin/sh | ||
cd $(dirname $0) | ||
exec python3 -m oomox_gui $@ | ||
cd "$(dirname "$0")" && | ||
exec python3 -m oomox_gui "$@" |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,19 @@ | ||
#!/usr/bin/env bash | ||
set -ueo pipefail | ||
|
||
for submodule in $(git config --file .gitmodules --get-regexp path | awk '{ print $2 }') ; do | ||
hashes=$(git diff | grep ${submodule} -A 3 | grep -e "^[+-]Subproject" | cut -d ' ' -f3 | cut -d- -f1 | paste -sd '%' -) || hashes='' | ||
if [[ ! -z "${hashes}" ]] ; then | ||
hashes=$(git diff | grep "${submodule}" -A 3 | grep -e "^[+-]Subproject" | cut -d ' ' -f3 | cut -d- -f1 | paste -sd '%' -) || hashes='' | ||
if [[ -n "${hashes}" ]] ; then | ||
echo | ||
echo "SUBMODULE [7m${submodule}[30m[m:" | ||
echo "=================================================================================" | ||
hash1=$(cut -d% -f1 <<< ${hashes}) | ||
hash2=$(cut -d% -f2 <<< ${hashes}) | ||
if [[ ${hash1} = ${hash2} ]] ; then | ||
git -C ${submodule}/ status | ||
if [[ "${hash1}" = "${hash2}" ]] ; then | ||
git -C "${submodule}"/ status | ||
else | ||
echo ${hashes} | ||
git -C ${submodule}/ log --oneline ${hash1}..${hash2} | ||
git -C "${submodule}"/ log --oneline "${hash1}".."${hash2}" | ||
fi | ||
fi | ||
done |
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 |
---|---|---|
|
@@ -2,4 +2,4 @@ | |
#--skip-if-unchanged \ | ||
flatpak-builder \ | ||
app-dir com.github.themix_project.Oomox.json \ | ||
$@ | ||
"$@" |