-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: 0.3.7 switch to astyle format (#42)
- feat: switch to astyle format - fix: update anvil tests output - feat: bump amboso to 1.6.10
- Loading branch information
Showing
21 changed files
with
1,682 additions
and
1,623 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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
--style=linux | ||
-s4 |
Submodule amboso
updated
7 files
+2 −2 | Makefile | |
+2 −2 | amboso | |
+26 −33 | amboso_fn.sh | |
+3 −0 | bin/stego.lock | |
+3 −0 | bin/v1.6.10/.gitignore | |
+3 −0 | bin/v1.6.8/.gitignore | |
+3 −0 | bin/v1.6.9/.gitignore |
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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#amboso compliant version folder, will ignore everything inside BUT the gitignore, to keep the clean dir | ||
* | ||
!.gitignore | ||
!static |
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 @@ | ||
../../static/ |
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,5 +1,5 @@ | ||
# Define the package name and version | ||
AC_INIT([koliseo], [0.3.6], [[email protected]]) | ||
AC_INIT([koliseo], [0.3.7], [[email protected]]) | ||
|
||
# Verify automake version and enable foreign option | ||
AM_INIT_AUTOMAKE([foreign -Wall]) | ||
|
@@ -48,7 +48,7 @@ fi | |
# Set a default version number if not specified externally | ||
AC_ARG_VAR([VERSION], [Version number]) | ||
if test -z "$VERSION"; then | ||
VERSION="0.3.6" | ||
VERSION="0.3.7" | ||
fi | ||
|
||
# Output variables to the config.h header | ||
|
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 |
---|---|---|
@@ -0,0 +1,31 @@ | ||
#!/bin/bash | ||
|
||
#Check if status is clean | ||
if output=$(git status --untracked-files=no --porcelain) && [ -z "$output" ]; then | ||
printf "\033[1;32m[OK]\e[0m Status is clean\n" | ||
else | ||
printf "\033[1;31m[ERR]\e[0m Status is dirty. Quitting.\n" | ||
exit 1 | ||
fi | ||
SRC_DIR="src" | ||
|
||
kls_SOURCES=("$SRC_DIR"/*.c "$SRC_DIR"/*.h) | ||
CONFIG_FILE=".astylerc" | ||
|
||
printf "Running \033[1;34mastyle -s4 --style=linux\e[0m for all source files.\n" | ||
for src_i in "${kls_SOURCES[@]}"; do { | ||
astyle --options="$CONFIG_FILE" $src_i >/dev/null | ||
printf "Ran astyle on [\033[1;35m$src_i\e[0m], status was [\033[1;33m$?\e[0m]\n" | ||
} | ||
done | ||
printf "Removing all \033[1;34msrc/*.orig\e[0m files.\n" | ||
for FILE in ${kls_SOURCES[@]}; do { | ||
if [[ -f "$FILE.orig" ]] ; then { | ||
rm "$FILE.orig" && printf "Removed [\033[1;36m$FILE.orig\e[0m]\n" | ||
} else { | ||
printf "[INFO] File [\033[1;33m$FILE.orig\e[0m] not found.\n" | ||
} | ||
fi | ||
} | ||
done | ||
printf "\033[1;33mDone.\e[0m\n" |
Oops, something went wrong.