mirror of
https://github.com/vishapoberon/vipatsar.git
synced 2026-04-05 21:12:25 +00:00
Merge pull request #2 from vishapoberon/antranigv/improvements
General Improvements to vipatsar and preparation for the upcoming upgrade
This commit is contained in:
commit
c5da878154
66 changed files with 1609 additions and 458 deletions
|
|
@ -1,16 +1,17 @@
|
|||
{
|
||||
"Package": "Bron-Dijkstra-Strings",
|
||||
"Author": "noch",
|
||||
"License": "GPL-3",
|
||||
"Version": "0.1",
|
||||
"Remote":
|
||||
{
|
||||
"package": "Bron-Dijkstra-Strings",
|
||||
"author": "noch",
|
||||
"license": "GPL-3",
|
||||
"version": "0.1.0",
|
||||
"remote": {
|
||||
"type": "git",
|
||||
"path": "https://github.com/norayr/Bron-Dijkstra-Strings",
|
||||
"tag" : "0.1"
|
||||
},
|
||||
"Build":
|
||||
[
|
||||
{"command": "voc -s", "file": "bdStrings.Mod"}
|
||||
]
|
||||
"tag": "0.1.0"
|
||||
},
|
||||
"build": [
|
||||
{
|
||||
"command": "voc -s",
|
||||
"file": "bdStrings.Mod"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
|||
17
Bron-Dijkstra-Strings/Bron-Dijkstra-Strings-0.1.0.vipakfile
Normal file
17
Bron-Dijkstra-Strings/Bron-Dijkstra-Strings-0.1.0.vipakfile
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
NAME = Bron-Dijkstra-Strings
|
||||
VERSION = 0.1.0
|
||||
|
||||
AUTHOR = noch
|
||||
LICENSE = GPL-3
|
||||
|
||||
REMOTE = git https://github.com/norayr/Bron-Dijkstra-Strings 0.1.0
|
||||
|
||||
DEPS =
|
||||
|
||||
RUN =
|
||||
MAIN =
|
||||
BUILD = voc -s bdStrings.Mod
|
||||
|
||||
TEST_RUN =
|
||||
TEST_MAIN =
|
||||
TEST =
|
||||
|
|
@ -1,26 +1,48 @@
|
|||
{
|
||||
"Package": "Internet",
|
||||
"Author": "noch",
|
||||
"License": "GPL-3",
|
||||
"Version": "0.1",
|
||||
"Remote":
|
||||
{
|
||||
"package": "Internet",
|
||||
"author": "noch",
|
||||
"license": "GPL-3",
|
||||
"version": "0.1.0",
|
||||
"remote": {
|
||||
"type": "git",
|
||||
"path": "https://github.com/norayr/Internet",
|
||||
"tag" : "0.1"
|
||||
},
|
||||
"Dependencies":
|
||||
"tag": "0.1.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"time": "0.1.0"
|
||||
},
|
||||
"build": [
|
||||
{
|
||||
"time": "0.1"
|
||||
"command": "voc -s",
|
||||
"file": "src/netTypes.Mod"
|
||||
},
|
||||
"Build": [
|
||||
{"command": "voc -s", "file": "src/netTypes.Mod"},
|
||||
{"command": "voc -s", "file": "src/netdb.Mod"},
|
||||
{"command": "voc -s", "file": "src/netSockets.Mod"},
|
||||
{"command": "voc -s", "file": "src/Internet.Mod"},
|
||||
{"command": "voc -s", "file": "src/netForker.Mod"},
|
||||
{"command": "voc -s", "file": "src/server.Mod"},
|
||||
{"command": "voc -m", "file": "tst/testClient.Mod"},
|
||||
{"command": "voc -m", "file": "tst/testServer.Mod"}
|
||||
]
|
||||
{
|
||||
"command": "voc -s",
|
||||
"file": "src/netdb.Mod"
|
||||
},
|
||||
{
|
||||
"command": "voc -s",
|
||||
"file": "src/netSockets.Mod"
|
||||
},
|
||||
{
|
||||
"command": "voc -s",
|
||||
"file": "src/Internet.Mod"
|
||||
},
|
||||
{
|
||||
"command": "voc -s",
|
||||
"file": "src/netForker.Mod"
|
||||
},
|
||||
{
|
||||
"command": "voc -s",
|
||||
"file": "src/server.Mod"
|
||||
},
|
||||
{
|
||||
"command": "voc -m",
|
||||
"file": "tst/testClient.Mod"
|
||||
},
|
||||
{
|
||||
"command": "voc -m",
|
||||
"file": "tst/testServer.Mod"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
|||
17
Internet/Internet-0.1.0.vipakfile
Normal file
17
Internet/Internet-0.1.0.vipakfile
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
NAME = Internet
|
||||
VERSION = 0.1.0
|
||||
|
||||
AUTHOR = noch
|
||||
LICENSE = GPL-3
|
||||
|
||||
REMOTE = git https://github.com/norayr/Internet 0.1.0
|
||||
|
||||
DEPS = time:0.1.0
|
||||
|
||||
RUN =
|
||||
MAIN =
|
||||
BUILD = voc -s src/netTypes.Mod;voc -s src/netdb.Mod;voc -s src/netSockets.Mod;voc -s src/Internet.Mod;voc -s src/netForker.Mod;voc -s src/server.Mod;voc -m tst/testClient.Mod;voc -m tst/testServer.Mod
|
||||
|
||||
TEST_RUN =
|
||||
TEST_MAIN =
|
||||
TEST =
|
||||
218
_Scripts/convert_vipakfile.sh
Executable file
218
_Scripts/convert_vipakfile.sh
Executable file
|
|
@ -0,0 +1,218 @@
|
|||
#!/bin/sh
|
||||
# convert_vipakfile.sh: Convert JSON vipakfile to plain-text .vipakfile format
|
||||
|
||||
|
||||
PROGNAME=${0##*/}
|
||||
VERSION="0.1.0"
|
||||
|
||||
COLOUR_SET_R="\033[0;31m"
|
||||
COLOUR_SET_G="\033[0;32m"
|
||||
COLOUR_SET_B="\033[0;34m"
|
||||
COLOUR_END="\033[0m"
|
||||
|
||||
perror() {
|
||||
printf "${COLOUR_SET_R}[-] ${COLOUR_END}%s\n" "$@" >&2
|
||||
exit 1
|
||||
}
|
||||
|
||||
pinfo() {
|
||||
printf "${COLOUR_SET_B}[*] ${COLOUR_END}%s\n" "$@" >&2
|
||||
}
|
||||
|
||||
paction() {
|
||||
printf "${COLOUR_SET_G}[+] ${COLOUR_END}%s\n" "$@" >&2
|
||||
}
|
||||
|
||||
usage() {
|
||||
cat <<EOF
|
||||
Usage: $PROGNAME [-o <output_file> | -c] [-f] [--verbose] <input_json_file>
|
||||
Convert JSON vipakfile to new plain-text .vipakfile format.
|
||||
-o <output_file> Write to specified file (default: stdout)
|
||||
-c Write to <package>-<version>.vipakfile
|
||||
-f Force overwrite of existing output file
|
||||
--verbose Print debug information about extracted fields
|
||||
EOF
|
||||
exit 0
|
||||
}
|
||||
|
||||
command -v jq >/dev/null 2>&1 || perror "jq is required but not found"
|
||||
command -v sed >/dev/null 2>&1 || perror "sed is required but not found"
|
||||
|
||||
output_mode="stdout"
|
||||
output_file=""
|
||||
input_file=""
|
||||
force_overwrite=""
|
||||
verbose=""
|
||||
while [ $# -gt 0 ]; do
|
||||
case "$1" in
|
||||
-o)
|
||||
[ $# -lt 2 ] && perror "Option -o requires an output file"
|
||||
output_mode="file"
|
||||
output_file="$2"
|
||||
shift 2
|
||||
;;
|
||||
-c)
|
||||
output_mode="versioned"
|
||||
shift
|
||||
;;
|
||||
-f)
|
||||
force_overwrite=1
|
||||
shift
|
||||
;;
|
||||
--verbose)
|
||||
verbose=1
|
||||
shift
|
||||
;;
|
||||
-*)
|
||||
perror "Unknown option: $1"
|
||||
;;
|
||||
*)
|
||||
[ -n "$input_file" ] && perror "Only one input file allowed"
|
||||
input_file="$1"
|
||||
shift
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
[ -z "$input_file" ] && usage
|
||||
[ -f "$input_file" ] || perror "Input file '$input_file' not found"
|
||||
[ -r "$input_file" ] || perror "Input file '$input_file' is not readable"
|
||||
|
||||
jq -e . "$input_file" >/dev/null 2>&1 || perror "Invalid JSON in $input_file"
|
||||
|
||||
paction "Parsing $input_file"
|
||||
name=$(jq -r '.package // ""' "$input_file")
|
||||
version=$(jq -r '.version // ""' "$input_file")
|
||||
author=$(jq -r '.author // ""' "$input_file")
|
||||
license=$(jq -r '.license // ""' "$input_file")
|
||||
|
||||
[ -z "$name" ] && perror "package field is required"
|
||||
[ -z "$version" ] && perror "version field is required"
|
||||
|
||||
# Extract Remote (handle git and https)
|
||||
remote_type=$(jq -r '.remote.type // ""' "$input_file")
|
||||
remote=""
|
||||
case "$remote_type" in
|
||||
git)
|
||||
remote_url=$(jq -r '.remote.url // .remote.path // ""' "$input_file")
|
||||
remote_tag=$(jq -r '.remote.tag // ""' "$input_file")
|
||||
if [ -z "$remote_url" ]; then
|
||||
perror "remote.url or remote.path required for remote.type=git"
|
||||
fi
|
||||
remote="git $remote_url"
|
||||
[ -n "$remote_tag" ] && remote="$remote $remote_tag"
|
||||
;;
|
||||
https)
|
||||
# Extract remote.files as raw data
|
||||
remote_files=$(jq -r '.remote.files // [] | map(
|
||||
[.url, .authtype // "None", .authcredentials.user // "", .authcredentials.password // "", .md5 // ""] | join("\t")
|
||||
) | join("\n")' "$input_file") || {
|
||||
perror "Failed to process remote.files in $input_file"
|
||||
exit 1
|
||||
}
|
||||
if [ -z "$remote_files" ]; then
|
||||
perror "remote.files required for remote.type=https"
|
||||
fi
|
||||
# Process each file entry in shell
|
||||
remote_files_out=""
|
||||
IFS='
|
||||
'
|
||||
for file in $remote_files; do
|
||||
url=$(echo "$file" | cut -f1)
|
||||
authtype=$(echo "$file" | cut -f2)
|
||||
user=$(echo "$file" | cut -f3)
|
||||
password=$(echo "$file" | cut -f4)
|
||||
md5=$(echo "$file" | cut -f5)
|
||||
if [ "$authtype" = "BasicAuth" ]; then
|
||||
if [ -z "$user" ] || [ -z "$password" ]; then
|
||||
perror "Missing authcredentials.user or authcredentials.password for BasicAuth in $input_file"
|
||||
fi
|
||||
# Insert user:password@ after protocol
|
||||
auth_url=$(echo "$url" | sed -E "s,^(https?://),\1$user:$password@,")
|
||||
entry="$auth_url md5,$md5"
|
||||
else
|
||||
entry="$url md5,$md5"
|
||||
fi
|
||||
if [ -z "$remote_files_out" ]; then
|
||||
remote_files_out="$entry"
|
||||
else
|
||||
remote_files_out="$remote_files_out;$entry"
|
||||
fi
|
||||
done
|
||||
unset IFS
|
||||
remote="https $remote_files_out"
|
||||
;;
|
||||
"")
|
||||
: # Empty remote is valid
|
||||
;;
|
||||
*)
|
||||
perror "Unsupported remote.type: $remote_type. Only 'git' or 'https' allowed"
|
||||
;;
|
||||
esac
|
||||
|
||||
deps=$(jq -r 'if .dependencies then .dependencies | to_entries | map("\(.key):\(.value)") | join(" ") else "" end' "$input_file")
|
||||
build=$(jq -r '.build // [] | map(.command + " " + .file) | join(";")' "$input_file")
|
||||
[ "$build" = "null" ] && build=""
|
||||
|
||||
run=""
|
||||
main=""
|
||||
test_run=""
|
||||
test_main=""
|
||||
test_cmd=""
|
||||
|
||||
[ -n "$verbose" ] && {
|
||||
pinfo "Extracted fields:"
|
||||
pinfo " NAME=$name"
|
||||
pinfo " VERSION=$version"
|
||||
pinfo " AUTHOR=$author"
|
||||
pinfo " LICENSE=$license"
|
||||
pinfo " REMOTE=$remote"
|
||||
pinfo " DEPS=$deps"
|
||||
pinfo " BUILD=$build"
|
||||
pinfo " RUN=$run"
|
||||
pinfo " MAIN=$main"
|
||||
pinfo " TEST_RUN=$test_run"
|
||||
pinfo " TEST_MAIN=$test_main"
|
||||
pinfo " TEST=$test_cmd"
|
||||
}
|
||||
|
||||
vipakfile_content=$(cat <<EOF
|
||||
NAME = $name
|
||||
VERSION = $version
|
||||
|
||||
AUTHOR = $author
|
||||
LICENSE = $license
|
||||
|
||||
REMOTE = $remote
|
||||
|
||||
DEPS = $deps
|
||||
|
||||
RUN = $run
|
||||
MAIN = $main
|
||||
BUILD = $build
|
||||
|
||||
TEST_RUN = $test_run
|
||||
TEST_MAIN = $test_main
|
||||
TEST = $test_cmd
|
||||
EOF
|
||||
)
|
||||
|
||||
case "$output_mode" in
|
||||
stdout)
|
||||
paction "Writing to stdout"
|
||||
printf "%s\n" "$vipakfile_content"
|
||||
;;
|
||||
file)
|
||||
[ -z "$force_overwrite" ] && [ -f "$output_file" ] && perror "Output file '$output_file' already exists"
|
||||
paction "Writing $output_file"
|
||||
printf "%s\n" "$vipakfile_content" > "$output_file" 2>/dev/null || perror "Failed to write to '$output_file'"
|
||||
pinfo "Conversion complete: $output_file"
|
||||
;;
|
||||
versioned)
|
||||
output_file="$name-$version.vipakfile"
|
||||
[ -z "$force_overwrite" ] && [ -f "$output_file" ] && perror "Output file '$output_file' already exists"
|
||||
paction "Writing $output_file"
|
||||
printf "%s\n" "$vipakfile_content" > "$output_file" 2>/dev/null || perror "Failed to write to '$output_file'"
|
||||
pinfo "Conversion complete: $output_file"
|
||||
;;
|
||||
esac
|
||||
42
_Scripts/convert_vipatsar.sh
Executable file
42
_Scripts/convert_vipatsar.sh
Executable file
|
|
@ -0,0 +1,42 @@
|
|||
#!/bin/sh
|
||||
# convert_vipatsar.sh: Convert old JSON vipakfiles to new plain-text format with
|
||||
# proper file naming and versioning using convert_vipakfile.sh
|
||||
|
||||
# Program name and version
|
||||
PROGNAME=${0##*/}
|
||||
VERSION="0.1.0"
|
||||
|
||||
# Colors for output
|
||||
COLOUR_SET_R="\033[0;31m"
|
||||
COLOUR_SET_G="\033[0;32m"
|
||||
COLOUR_SET_B="\033[0;34m"
|
||||
COLOUR_END="\033[0m"
|
||||
|
||||
# Error, info, and action print functions
|
||||
perror() {
|
||||
printf "${COLOUR_SET_R}[-] ${COLOUR_END}%s\n" "$@" >&2
|
||||
exit 1
|
||||
}
|
||||
|
||||
pinfo() {
|
||||
printf "${COLOUR_SET_B}[+] ${COLOUR_END}%s\n" "$@" >&2
|
||||
}
|
||||
|
||||
paction() {
|
||||
printf "${COLOUR_SET_G}[*] ${COLOUR_END}%s\n" "$@" >&2
|
||||
}
|
||||
|
||||
# We assume that we're running inside vipatsar tree
|
||||
for dir in $(find . -not -path '*/.git/*' -not -path '.' -type d) ;
|
||||
do
|
||||
# The port/library name is derived from the directory
|
||||
port=${dir##./}
|
||||
pinfo "Working on ${port}"
|
||||
cd $dir
|
||||
paction "Converting ${port}.json"
|
||||
../_Scripts/convert_vipakfile.sh -c "../${port}.json"
|
||||
pinfo "Conversion done"
|
||||
|
||||
cd - >/dev/null || return
|
||||
done
|
||||
|
||||
79
_Scripts/to_lower.sh
Executable file
79
_Scripts/to_lower.sh
Executable file
|
|
@ -0,0 +1,79 @@
|
|||
#!/bin/sh
|
||||
# to_lower.sh: Convert JSON keys to lowercase, preserving dependencies subkeys
|
||||
|
||||
|
||||
PROGNAME=${0##*/}
|
||||
|
||||
COLOUR_SET_R="\033[0;31m"
|
||||
COLOUR_SET_G="\033[0;32m"
|
||||
COLOUR_SET_B="\033[0;34m"
|
||||
COLOUR_END="\033[0m"
|
||||
|
||||
perror() {
|
||||
printf "${COLOUR_SET_R}[-] ${COLOUR_END}%s\n" "$@" >&2
|
||||
exit 1
|
||||
}
|
||||
|
||||
pinfo() {
|
||||
printf "${COLOUR_SET_B}[*] ${COLOUR_END}%s\n" "$@" >&2
|
||||
}
|
||||
|
||||
paction() {
|
||||
printf "${COLOUR_SET_G}[+] ${COLOUR_END}%s\n" "$@" >&2
|
||||
}
|
||||
|
||||
usage() {
|
||||
cat <<EOF
|
||||
Usage: $PROGNAME [--all] [file ...]
|
||||
Convert JSON keys to lowercase, preserving dependencies subkeys.
|
||||
--all Process all .json files in current directory
|
||||
file Process specified JSON files
|
||||
EOF
|
||||
exit 0
|
||||
}
|
||||
|
||||
command -v jq >/dev/null 2>&1 || perror "jq is required but not found"
|
||||
|
||||
if [ $# -eq 0 ]; then
|
||||
usage
|
||||
fi
|
||||
|
||||
if [ "$1" = "--all" ]; then
|
||||
files=$(ls *.json 2>/dev/null)
|
||||
[ -z "$files" ] && perror "No JSON files found in current directory"
|
||||
else
|
||||
files="$*"
|
||||
for file in $files; do
|
||||
[ -f "$file" ] || perror "File $file not found"
|
||||
case "$file" in
|
||||
*.json) : ;;
|
||||
*) perror "File $file is not a .json file" ;;
|
||||
esac
|
||||
done
|
||||
fi
|
||||
|
||||
for file in $files; do
|
||||
[ -r "$file" ] || perror "File $file is not readable"
|
||||
paction "Converting keys to lowercase in $file"
|
||||
tmpfile=$(mktemp)
|
||||
jq '
|
||||
def to_lower:
|
||||
if type == "object" then
|
||||
with_entries(
|
||||
.key |= (if . == "dependencies" then . else ascii_downcase end)
|
||||
) | map_values(to_lower)
|
||||
elif type == "array" then
|
||||
map(to_lower)
|
||||
else
|
||||
.
|
||||
end;
|
||||
to_lower
|
||||
' "$file" > "$tmpfile" 2>/dev/null || {
|
||||
rm -f "$tmpfile"
|
||||
perror "Failed to process $file with jq"
|
||||
}
|
||||
mv "$tmpfile" "$file" || perror "Failed to overwrite $file"
|
||||
pinfo "Processed $file"
|
||||
done
|
||||
|
||||
pinfo "All files processed successfully"
|
||||
141
_Scripts/validate_json.sh
Executable file
141
_Scripts/validate_json.sh
Executable file
|
|
@ -0,0 +1,141 @@
|
|||
#!/bin/sh
|
||||
# validate_json.sh: Validate JSON vipakfiles
|
||||
|
||||
|
||||
PROGNAME=${0##*/}
|
||||
|
||||
COLOUR_SET_R="\033[0;31m"
|
||||
COLOUR_SET_G="\033[0;32m"
|
||||
COLOUR_SET_B="\033[0;34m"
|
||||
COLOUR_END="\033[0m"
|
||||
|
||||
perror() {
|
||||
printf "${COLOUR_SET_R}[-] ${COLOUR_END}%s\n" "$@" >&2
|
||||
exit 1
|
||||
}
|
||||
|
||||
pinfo() {
|
||||
printf "${COLOUR_SET_B}[*] ${COLOUR_END}%s\n" "$@" >&2
|
||||
}
|
||||
|
||||
paction() {
|
||||
printf "${COLOUR_SET_G}[+] ${COLOUR_END}%s\n" "$@" >&2
|
||||
}
|
||||
|
||||
usage() {
|
||||
cat <<EOF
|
||||
Usage: $PROGNAME [--all] [file ...]
|
||||
Validate JSON vipakfiles.
|
||||
--all Validate all .json files in current directory
|
||||
file Validate specified JSON files
|
||||
EOF
|
||||
exit 0
|
||||
}
|
||||
|
||||
command -v jq >/dev/null 2>&1 || perror "jq is required but not found"
|
||||
|
||||
validate_json() {
|
||||
json="$1"
|
||||
errors=0
|
||||
if ! jq -e . "$json" >/dev/null 2>/dev/null; then
|
||||
perror "$json is not valid JSON"
|
||||
errors=$((errors + 1))
|
||||
fi
|
||||
if ! jq -e '.package | type == "string" and length > 0' "$json" >/dev/null 2>/dev/null; then
|
||||
perror "$json missing or invalid package field"
|
||||
errors=$((errors + 1))
|
||||
fi
|
||||
if ! jq -e '.version | type == "string" and length > 0' "$json" >/dev/null 2>/dev/null; then
|
||||
perror "$json missing or invalid version field"
|
||||
errors=$((errors + 1))
|
||||
fi
|
||||
if ! jq -e '.author | type == "string"' "$json" >/dev/null 2>/dev/null; then
|
||||
perror "$json invalid author field (must be string)"
|
||||
errors=$((errors + 1))
|
||||
fi
|
||||
if ! jq -e '.license | type == "string"' "$json" >/dev/null 2>/dev/null; then
|
||||
perror "$json invalid license field (must be string)"
|
||||
errors=$((errors + 1))
|
||||
fi
|
||||
if jq -e '.remote | type == "object"' "$json" >/dev/null 2>/dev/null; then
|
||||
if ! jq -e '.remote.type | type == "string" and (. == "" or . == "git" or . == "https")' "$json" >/dev/null 2>/dev/null; then
|
||||
perror "$json invalid remote.type (must be empty, 'git', or 'https')"
|
||||
errors=$((errors + 1))
|
||||
fi
|
||||
if jq -e '.remote.type == "git"' "$json" >/dev/null 2>/dev/null; then
|
||||
if ! jq -e '.remote.url // .remote.path | type == "string" and length > 0' "$json" >/dev/null 2>/dev/null; then
|
||||
perror "$json with remote.type=git missing or invalid remote.url or remote.path"
|
||||
errors=$((errors + 1))
|
||||
fi
|
||||
if jq -e '.remote.tag | type != "string"' "$json" >/dev/null 2>/dev/null; then
|
||||
perror "$json invalid remote.tag (must be string)"
|
||||
errors=$((errors + 1))
|
||||
fi
|
||||
fi
|
||||
if jq -e '.remote.type == "https"' "$json" >/dev/null 2>/dev/null; then
|
||||
if ! jq -e '.remote.files | type == "array" and length > 0' "$json" >/dev/null 2>/dev/null; then
|
||||
perror "$json with remote.type=https missing or empty remote.files array"
|
||||
errors=$((errors + 1))
|
||||
fi
|
||||
if ! jq -e '.remote.files[] | select(type == "object" and (.url | test("^(http|https)://") and .md5 | test("^[0-9a-f]{32}$")) and (.authtype != "BasicAuth" or (.authcredentials.user | type == "string" and length > 0 and .authcredentials.password | type == "string" and length > 0)))' "$json" >/dev/null 2>/dev/null; then
|
||||
jq -r '.remote.files[] | select(type != "object" or (.url | not or (.url | test("^(http|https)://") | not) or (.md5 | not or (.md5 | test("^[0-9a-f]{32}$") | not)) or (.authtype == "BasicAuth" and (.authcredentials.user | not or (.authcredentials.user | type != "string" or length == 0) or .authcredentials.password | not or (.authcredentials.password | type != "string" or length == 0)))) | .url // "missing"' "$json" 2>/dev/null | while read -r url; do
|
||||
perror "$json has invalid remote.files entry (url: $url, must be object with valid URL, 32-char MD5, and for BasicAuth, non-empty user/password)"
|
||||
errors=$((errors + 1))
|
||||
done
|
||||
if [ $? -ne 0 ]; then
|
||||
perror "$json remote.files validation failed due to jq error"
|
||||
errors=$((errors + 1))
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
if ! jq -e '.build | type == "array"' "$json" >/dev/null 2>/dev/null; then
|
||||
perror "$json invalid build field (must be array)"
|
||||
errors=$((errors + 1))
|
||||
fi
|
||||
if ! jq -e '.build[] | select(type == "object" and .command | type == "string" and length > 0 and .file | type == "string" and length > 0)' "$json" >/dev/null 2>/dev/null; then
|
||||
jq -r '.build[] | select(type != "object" or (.command | not or (.command | type != "string" or length == 0) or .file | not or (.file | type != "string" or length == 0))) | .file // "missing"' "$json" 2>/dev/null | while read -r file; do
|
||||
perror "$json has invalid build entry (file: $file, must be object with non-empty command and file)"
|
||||
errors=$((errors + 1))
|
||||
done
|
||||
if [ $? -ne 0 ]; then
|
||||
perror "$json build validation failed due to jq error"
|
||||
errors=$((errors + 1))
|
||||
fi
|
||||
fi
|
||||
[ $errors -eq 0 ] && pinfo "$json is valid"
|
||||
return $errors
|
||||
}
|
||||
|
||||
errors=0
|
||||
if [ $# -eq 0 ]; then
|
||||
usage
|
||||
fi
|
||||
|
||||
if [ "$1" = "--all" ]; then
|
||||
files=$(ls *.json 2>/dev/null)
|
||||
[ -z "$files" ] && perror "No JSON files found in current directory"
|
||||
else
|
||||
files="$*"
|
||||
for file in $files; do
|
||||
[ -f "$file" ] || perror "File $file not found"
|
||||
case "$file" in
|
||||
*.json) : ;;
|
||||
*) perror "File $file is not a .json file" ;;
|
||||
esac
|
||||
done
|
||||
fi
|
||||
|
||||
for file in $files; do
|
||||
paction "Validating $file"
|
||||
validate_json "$file"
|
||||
[ $? -ne 0 ] && errors=$((errors + 1))
|
||||
done
|
||||
|
||||
if [ $errors -eq 0 ]; then
|
||||
pinfo "All JSON files validated successfully"
|
||||
exit 0
|
||||
else
|
||||
perror "Validation failed with $errors error(s)"
|
||||
exit 1
|
||||
fi
|
||||
25
armscii.json
25
armscii.json
|
|
@ -1,16 +1,17 @@
|
|||
{
|
||||
"Package": "Internet",
|
||||
"Author": "noch",
|
||||
"License": "GPL-3",
|
||||
"Version": "0.1",
|
||||
"Remote":
|
||||
{
|
||||
"package": "armscii",
|
||||
"author": "noch",
|
||||
"license": "GPL-3",
|
||||
"version": "0.1.0",
|
||||
"remote": {
|
||||
"type": "git",
|
||||
"path": "https://github.com/norayr/armscii",
|
||||
"tag" : "0.1"
|
||||
},
|
||||
"Build":
|
||||
[
|
||||
{"command": "voc -s", "file": "ArmsciiUTF.Mod"}
|
||||
]
|
||||
"tag": "0.1.0"
|
||||
},
|
||||
"build": [
|
||||
{
|
||||
"command": "voc -s",
|
||||
"file": "ArmsciiUTF.Mod"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
|||
17
armscii/armscii-0.1.0.vipakfile
Normal file
17
armscii/armscii-0.1.0.vipakfile
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
NAME = armscii
|
||||
VERSION = 0.1.0
|
||||
|
||||
AUTHOR = noch
|
||||
LICENSE = GPL-3
|
||||
|
||||
REMOTE = git https://github.com/norayr/armscii 0.1.0
|
||||
|
||||
DEPS =
|
||||
|
||||
RUN =
|
||||
MAIN =
|
||||
BUILD = voc -s ArmsciiUTF.Mod
|
||||
|
||||
TEST_RUN =
|
||||
TEST_MAIN =
|
||||
TEST =
|
||||
|
|
@ -1,21 +1,21 @@
|
|||
{
|
||||
"Package": "armscii2",
|
||||
"Author": "noch",
|
||||
"License": "GPL-3",
|
||||
"Version": "0.1",
|
||||
"Remote": {
|
||||
"Type": "https",
|
||||
"Files": [
|
||||
{
|
||||
"URL": "https://norayr.am/vpk2/armscii/ArmsciiUTF.Mod",
|
||||
"MD5": "14790276c48db775a5fee99a48525dd9"
|
||||
}
|
||||
]
|
||||
},
|
||||
"Build": [
|
||||
{
|
||||
"Command": "voc -s",
|
||||
"File": "ArmsciiUTF.Mod"
|
||||
}
|
||||
"package": "armscii2",
|
||||
"author": "noch",
|
||||
"license": "GPL-3",
|
||||
"version": "0.1.0",
|
||||
"remote": {
|
||||
"type": "https",
|
||||
"files": [
|
||||
{
|
||||
"url": "https://norayr.am/vpk2/armscii/ArmsciiUTF.Mod",
|
||||
"md5": "14790276c48db775a5fee99a48525dd9"
|
||||
}
|
||||
]
|
||||
},
|
||||
"build": [
|
||||
{
|
||||
"command": "voc -s",
|
||||
"file": "ArmsciiUTF.Mod"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
|||
17
armscii2/armscii2-0.1.0.vipakfile
Normal file
17
armscii2/armscii2-0.1.0.vipakfile
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
NAME = armscii2
|
||||
VERSION = 0.1.0
|
||||
|
||||
AUTHOR = noch
|
||||
LICENSE = GPL-3
|
||||
|
||||
REMOTE = https https://norayr.am/vpk2/armscii/ArmsciiUTF.Mod md5,14790276c48db775a5fee99a48525dd9
|
||||
|
||||
DEPS =
|
||||
|
||||
RUN =
|
||||
MAIN =
|
||||
BUILD = voc -s ArmsciiUTF.Mod
|
||||
|
||||
TEST_RUN =
|
||||
TEST_MAIN =
|
||||
TEST =
|
||||
23
base64.json
23
base64.json
|
|
@ -1,16 +1,17 @@
|
|||
{
|
||||
"Package": "base64",
|
||||
"Author": "noch",
|
||||
"License": "GPL-3",
|
||||
"Version": "0.1",
|
||||
"Remote":
|
||||
{
|
||||
"package": "base64",
|
||||
"author": "noch",
|
||||
"license": "GPL-3",
|
||||
"version": "0.1.0",
|
||||
"remote": {
|
||||
"type": "git",
|
||||
"path": "https://github.com/norayr/base64",
|
||||
"tag" : "0.1"
|
||||
},
|
||||
"Build":
|
||||
[
|
||||
{"command": "voc -s", "file": "src/Base64.Mod"}
|
||||
"tag": "0.1.0"
|
||||
},
|
||||
"build": [
|
||||
{
|
||||
"command": "voc -s",
|
||||
"file": "src/Base64.Mod"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
|||
17
base64/base64-0.1.0.vipakfile
Normal file
17
base64/base64-0.1.0.vipakfile
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
NAME = base64
|
||||
VERSION = 0.1.0
|
||||
|
||||
AUTHOR = noch
|
||||
LICENSE = GPL-3
|
||||
|
||||
REMOTE = git https://github.com/norayr/base64 0.1.0
|
||||
|
||||
DEPS =
|
||||
|
||||
RUN =
|
||||
MAIN =
|
||||
BUILD = voc -s src/Base64.Mod
|
||||
|
||||
TEST_RUN =
|
||||
TEST_MAIN =
|
||||
TEST =
|
||||
30
cairo.json
30
cairo.json
|
|
@ -1,22 +1,22 @@
|
|||
{
|
||||
"Package": "cairo",
|
||||
"Author": "une",
|
||||
"License": "GPL-3",
|
||||
"Version": "0.1",
|
||||
|
||||
"Remote": {
|
||||
"Type": "https",
|
||||
"Files": [
|
||||
"package": "cairo",
|
||||
"author": "une",
|
||||
"license": "GPL-3",
|
||||
"version": "0.1.0",
|
||||
"remote": {
|
||||
"type": "https",
|
||||
"files": [
|
||||
{
|
||||
"URL": "https://codeberg.org/une/oberon-cairo/raw/commit/bca71235f8/Cairo.mod",
|
||||
"AuthType": "None",
|
||||
"MD5": "e6f3d616481b1c5da1c9eebdb2e75ae7"
|
||||
"url": "https://codeberg.org/une/oberon-cairo/raw/commit/bca71235f8/Cairo.mod",
|
||||
"authtype": "None",
|
||||
"md5": "e6f3d616481b1c5da1c9eebdb2e75ae7"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
"Build": [
|
||||
{"Command": "voc -s", "File": "Cairo.mod"}
|
||||
"build": [
|
||||
{
|
||||
"command": "voc -s",
|
||||
"file": "Cairo.mod"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
|
|
|
|||
17
cairo/cairo-0.1.0.vipakfile
Normal file
17
cairo/cairo-0.1.0.vipakfile
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
NAME = cairo
|
||||
VERSION = 0.1.0
|
||||
|
||||
AUTHOR = une
|
||||
LICENSE = GPL-3
|
||||
|
||||
REMOTE = https https://codeberg.org/une/oberon-cairo/raw/commit/bca71235f8/Cairo.mod md5,e6f3d616481b1c5da1c9eebdb2e75ae7
|
||||
|
||||
DEPS =
|
||||
|
||||
RUN =
|
||||
MAIN =
|
||||
BUILD = voc -s Cairo.mod
|
||||
|
||||
TEST_RUN =
|
||||
TEST_MAIN =
|
||||
TEST =
|
||||
28
dbg.json
28
dbg.json
|
|
@ -1,20 +1,20 @@
|
|||
{
|
||||
"Package": "dbg",
|
||||
"Author": "noch",
|
||||
"License": "GPL-3",
|
||||
"Version": "0.1",
|
||||
"Remote":
|
||||
{
|
||||
"package": "dbg",
|
||||
"author": "noch",
|
||||
"license": "GPL-3",
|
||||
"version": "0.1.0",
|
||||
"remote": {
|
||||
"type": "git",
|
||||
"path": "https://github.com/norayr/dbg",
|
||||
"tag" : "0.1"
|
||||
},
|
||||
"Dependencies":
|
||||
{
|
||||
"strutils": "0.1"
|
||||
"tag": "0.1.0"
|
||||
},
|
||||
"Build":
|
||||
[
|
||||
{"command": "voc -s", "file": "src/dbg.Mod"}
|
||||
"dependencies": {
|
||||
"strutils": "0.1.0"
|
||||
},
|
||||
"build": [
|
||||
{
|
||||
"command": "voc -s",
|
||||
"file": "src/dbg.Mod"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
|||
17
dbg/dbg-0.1.0.vipakfile
Normal file
17
dbg/dbg-0.1.0.vipakfile
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
NAME = dbg
|
||||
VERSION = 0.1.0
|
||||
|
||||
AUTHOR = noch
|
||||
LICENSE = GPL-3
|
||||
|
||||
REMOTE = git https://github.com/norayr/dbg 0.1.0
|
||||
|
||||
DEPS = strutils:0.1.0
|
||||
|
||||
RUN =
|
||||
MAIN =
|
||||
BUILD = voc -s src/dbg.Mod
|
||||
|
||||
TEST_RUN =
|
||||
TEST_MAIN =
|
||||
TEST =
|
||||
|
|
@ -1,22 +1,25 @@
|
|||
{
|
||||
"Package": "diaspora",
|
||||
"Author": "noch",
|
||||
"License": "GPL-3",
|
||||
"Version": "0.1",
|
||||
"Remote":
|
||||
{
|
||||
"package": "diaspora",
|
||||
"author": "noch",
|
||||
"license": "GPL-3",
|
||||
"version": "0.1.0",
|
||||
"remote": {
|
||||
"type": "git",
|
||||
"path": "https://github.com/norayr/diaspora",
|
||||
"tag" : "0.1"
|
||||
},
|
||||
"Dependencies":
|
||||
{
|
||||
"lists": "0.1",
|
||||
"postgres": "0.1"
|
||||
"tag": "0.1.0"
|
||||
},
|
||||
"Build":
|
||||
[
|
||||
{"command": "voc -s", "file": "src/diasporadb.Mod"},
|
||||
{"command": "voc -s", "file": "src/diasporaPost.Mod"}
|
||||
"dependencies": {
|
||||
"lists": "0.1.0",
|
||||
"postgres": "0.1.0"
|
||||
},
|
||||
"build": [
|
||||
{
|
||||
"command": "voc -s",
|
||||
"file": "src/diasporadb.Mod"
|
||||
},
|
||||
{
|
||||
"command": "voc -s",
|
||||
"file": "src/diasporaPost.Mod"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
|||
17
diaspora/diaspora-0.1.0.vipakfile
Normal file
17
diaspora/diaspora-0.1.0.vipakfile
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
NAME = diaspora
|
||||
VERSION = 0.1.0
|
||||
|
||||
AUTHOR = noch
|
||||
LICENSE = GPL-3
|
||||
|
||||
REMOTE = git https://github.com/norayr/diaspora 0.1.0
|
||||
|
||||
DEPS = lists:0.1.0 postgres:0.1.0
|
||||
|
||||
RUN =
|
||||
MAIN =
|
||||
BUILD = voc -s src/diasporadb.Mod;voc -s src/diasporaPost.Mod
|
||||
|
||||
TEST_RUN =
|
||||
TEST_MAIN =
|
||||
TEST =
|
||||
|
|
@ -1,16 +1,17 @@
|
|||
{
|
||||
"Package": "etiquette",
|
||||
"Author": "noch",
|
||||
"License": "GPL-3",
|
||||
"Version": "0.1",
|
||||
"Remote":
|
||||
{
|
||||
"package": "etiquette",
|
||||
"author": "noch",
|
||||
"license": "GPL-3",
|
||||
"version": "0.1.0",
|
||||
"remote": {
|
||||
"type": "git",
|
||||
"path": "https://github.com/norayr/etiquette",
|
||||
"tag" : "0.1"
|
||||
},
|
||||
"Build":
|
||||
[
|
||||
{"command": "voc -m", "file": "src/etiquette.Mod"}
|
||||
"tag": "0.1.0"
|
||||
},
|
||||
"build": [
|
||||
{
|
||||
"command": "voc -m",
|
||||
"file": "src/etiquette.Mod"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
|||
17
etiquette/etiquette-0.1.0.vipakfile
Normal file
17
etiquette/etiquette-0.1.0.vipakfile
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
NAME = etiquette
|
||||
VERSION = 0.1.0
|
||||
|
||||
AUTHOR = noch
|
||||
LICENSE = GPL-3
|
||||
|
||||
REMOTE = git https://github.com/norayr/etiquette 0.1.0
|
||||
|
||||
DEPS =
|
||||
|
||||
RUN =
|
||||
MAIN =
|
||||
BUILD = voc -m src/etiquette.Mod
|
||||
|
||||
TEST_RUN =
|
||||
TEST_MAIN =
|
||||
TEST =
|
||||
23
fifo.json
23
fifo.json
|
|
@ -1,16 +1,17 @@
|
|||
{
|
||||
"Package": "fifo",
|
||||
"Author": "noch",
|
||||
"License": "GPL-3",
|
||||
"Version": "0.1",
|
||||
"Remote":
|
||||
{
|
||||
"package": "fifo",
|
||||
"author": "noch",
|
||||
"license": "GPL-3",
|
||||
"version": "0.1.0",
|
||||
"remote": {
|
||||
"type": "git",
|
||||
"path": "https://github.com/norayr/fifo",
|
||||
"tag" : "0.1"
|
||||
},
|
||||
"Build":
|
||||
[
|
||||
{"command": "voc -s", "file": "src/fifo.Mod"}
|
||||
"tag": "0.1.0"
|
||||
},
|
||||
"build": [
|
||||
{
|
||||
"command": "voc -s",
|
||||
"file": "src/fifo.Mod"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
|||
17
fifo/fifo-0.1.0.vipakfile
Normal file
17
fifo/fifo-0.1.0.vipakfile
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
NAME = fifo
|
||||
VERSION = 0.1.0
|
||||
|
||||
AUTHOR = noch
|
||||
LICENSE = GPL-3
|
||||
|
||||
REMOTE = git https://github.com/norayr/fifo 0.1.0
|
||||
|
||||
DEPS =
|
||||
|
||||
RUN =
|
||||
MAIN =
|
||||
BUILD = voc -s src/fifo.Mod
|
||||
|
||||
TEST_RUN =
|
||||
TEST_MAIN =
|
||||
TEST =
|
||||
37
http.json
37
http.json
|
|
@ -1,23 +1,26 @@
|
|||
{
|
||||
"Package": "http",
|
||||
"Author": "noch",
|
||||
"License": "GPL-3",
|
||||
"Version": "0.1",
|
||||
"Remote":
|
||||
{
|
||||
"package": "http",
|
||||
"author": "noch",
|
||||
"license": "GPL-3",
|
||||
"version": "0.1.0",
|
||||
"remote": {
|
||||
"type": "git",
|
||||
"path": "https://github.com/norayr/http",
|
||||
"tag" : "0.1"
|
||||
},
|
||||
"Dependencies":
|
||||
{
|
||||
"strutils": "0.1",
|
||||
"base64": "0.1",
|
||||
"Internet": "0.1"
|
||||
"tag": "0.1.0"
|
||||
},
|
||||
"Build":
|
||||
[
|
||||
{"command": "voc -s", "file": "src/hexIntStr.Mod"},
|
||||
{"command": "voc -s", "file": "src/http.Mod"}
|
||||
"dependencies": {
|
||||
"strutils": "0.1.0",
|
||||
"base64": "0.1.0",
|
||||
"internet": "0.1.0"
|
||||
},
|
||||
"build": [
|
||||
{
|
||||
"command": "voc -s",
|
||||
"file": "src/hexIntStr.Mod"
|
||||
},
|
||||
{
|
||||
"command": "voc -s",
|
||||
"file": "src/http.Mod"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
|||
17
http/http-0.1.0.vipakfile
Normal file
17
http/http-0.1.0.vipakfile
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
NAME = http
|
||||
VERSION = 0.1.0
|
||||
|
||||
AUTHOR = noch
|
||||
LICENSE = GPL-3
|
||||
|
||||
REMOTE = git https://github.com/norayr/http 0.1.0
|
||||
|
||||
DEPS = strutils:0.1.0 base64:0.1.0 internet:0.1.0
|
||||
|
||||
RUN =
|
||||
MAIN =
|
||||
BUILD = voc -s src/hexIntStr.Mod;voc -s src/http.Mod
|
||||
|
||||
TEST_RUN =
|
||||
TEST_MAIN =
|
||||
TEST =
|
||||
34
irc.json
34
irc.json
|
|
@ -1,23 +1,23 @@
|
|||
{
|
||||
"Package": "irc",
|
||||
"Author": "noch",
|
||||
"License": "GPL-3",
|
||||
"Version": "0.1",
|
||||
"Remote":
|
||||
{
|
||||
"package": "irc",
|
||||
"author": "noch",
|
||||
"license": "GPL-3",
|
||||
"version": "0.1.0",
|
||||
"remote": {
|
||||
"type": "git",
|
||||
"path": "https://github.com/norayr/irc",
|
||||
"tag" : "0.1"
|
||||
},
|
||||
"Dependencies":
|
||||
{
|
||||
"time": "0.1",
|
||||
"Internet": "0.1",
|
||||
"lists": "0.1",
|
||||
"dbg": "0.1"
|
||||
"tag": "0.1.0"
|
||||
},
|
||||
"Build":
|
||||
[
|
||||
{"command": "voc -s", "file": "src/IRC.Mod"}
|
||||
"dependencies": {
|
||||
"time": "0.1.0",
|
||||
"internet": "0.1.0",
|
||||
"lists": "0.1.0",
|
||||
"dbg": "0.1.0"
|
||||
},
|
||||
"build": [
|
||||
{
|
||||
"command": "voc -s",
|
||||
"file": "src/IRC.Mod"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
|||
17
irc/irc-0.1.0.vipakfile
Normal file
17
irc/irc-0.1.0.vipakfile
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
NAME = irc
|
||||
VERSION = 0.1.0
|
||||
|
||||
AUTHOR = noch
|
||||
LICENSE = GPL-3
|
||||
|
||||
REMOTE = git https://github.com/norayr/irc 0.1.0
|
||||
|
||||
DEPS = time:0.1.0 internet:0.1.0 lists:0.1.0 dbg:0.1.0
|
||||
|
||||
RUN =
|
||||
MAIN =
|
||||
BUILD = voc -s src/IRC.Mod
|
||||
|
||||
TEST_RUN =
|
||||
TEST_MAIN =
|
||||
TEST =
|
||||
36
irc_bot.json
36
irc_bot.json
|
|
@ -1,24 +1,24 @@
|
|||
{
|
||||
"Package": "irc_bot",
|
||||
"Author": "noch",
|
||||
"License": "GPL-3",
|
||||
"Version": "0.1",
|
||||
"Remote":
|
||||
{
|
||||
"package": "irc_bot",
|
||||
"author": "noch",
|
||||
"license": "GPL-3",
|
||||
"version": "0.1.0",
|
||||
"remote": {
|
||||
"type": "git",
|
||||
"path": "https://github.com/norayr/irc_bot",
|
||||
"tag" : "0.1"
|
||||
},
|
||||
"Dependencies":
|
||||
{
|
||||
"opts": "0.1",
|
||||
"lists":"0.1",
|
||||
"Internet": "0.1",
|
||||
"time": "0.1",
|
||||
"irc": "0.1"
|
||||
"tag": "0.1.0"
|
||||
},
|
||||
"Build":
|
||||
[
|
||||
{"command": "voc -m", "file": "src/vocbot.Mod"}
|
||||
"dependencies": {
|
||||
"opts": "0.1.0",
|
||||
"lists": "0.1.0",
|
||||
"internet": "0.1.0",
|
||||
"time": "0.1.0",
|
||||
"irc": "0.1.0"
|
||||
},
|
||||
"build": [
|
||||
{
|
||||
"command": "voc -m",
|
||||
"file": "src/vocbot.Mod"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
|||
17
irc_bot/irc_bot-0.1.0.vipakfile
Normal file
17
irc_bot/irc_bot-0.1.0.vipakfile
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
NAME = irc_bot
|
||||
VERSION = 0.1.0
|
||||
|
||||
AUTHOR = noch
|
||||
LICENSE = GPL-3
|
||||
|
||||
REMOTE = git https://github.com/norayr/irc_bot 0.1.0
|
||||
|
||||
DEPS = opts:0.1.0 lists:0.1.0 internet:0.1.0 time:0.1.0 irc:0.1.0
|
||||
|
||||
RUN =
|
||||
MAIN =
|
||||
BUILD = voc -m src/vocbot.Mod
|
||||
|
||||
TEST_RUN =
|
||||
TEST_MAIN =
|
||||
TEST =
|
||||
33
libucl.json
33
libucl.json
|
|
@ -1,18 +1,25 @@
|
|||
{
|
||||
"Package": "libucl",
|
||||
"Author": "antranigv",
|
||||
"License": "BSD",
|
||||
"Version": "0.1",
|
||||
"Remote":
|
||||
{
|
||||
"package": "libucl",
|
||||
"author": "antranigv",
|
||||
"license": "BSD",
|
||||
"version": "0.1.0",
|
||||
"remote": {
|
||||
"type": "git",
|
||||
"path": "https://github.com/antranigv/voclibucl",
|
||||
"tag" : "0.1"
|
||||
"tag": "0.1.0"
|
||||
},
|
||||
"build": [
|
||||
{
|
||||
"command": "voc -s",
|
||||
"file": "src/ucl.Mod"
|
||||
},
|
||||
"Build":
|
||||
[
|
||||
{"command": "voc -s", "file": "src/ucl.Mod"},
|
||||
{"command": "CFLAGS=-lucl voc -m", "file": "test/libucl_test.Mod"},
|
||||
{"command": "cp", "file": "test/example.ucl ."}
|
||||
]
|
||||
{
|
||||
"command": "CFLAGS=-lucl voc -m",
|
||||
"file": "test/libucl_test.Mod"
|
||||
},
|
||||
{
|
||||
"command": "cp",
|
||||
"file": "test/example.ucl ."
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
|||
17
libucl/libucl-0.1.0.vipakfile
Normal file
17
libucl/libucl-0.1.0.vipakfile
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
NAME = libucl
|
||||
VERSION = 0.1.0
|
||||
|
||||
AUTHOR = antranigv
|
||||
LICENSE = BSD
|
||||
|
||||
REMOTE = git https://github.com/antranigv/voclibucl 0.1.0
|
||||
|
||||
DEPS =
|
||||
|
||||
RUN =
|
||||
MAIN =
|
||||
BUILD = voc -s src/ucl.Mod;CFLAGS=-lucl voc -m test/libucl_test.Mod;cp test/example.ucl .
|
||||
|
||||
TEST_RUN =
|
||||
TEST_MAIN =
|
||||
TEST =
|
||||
28
libxo.json
28
libxo.json
|
|
@ -1,17 +1,21 @@
|
|||
{
|
||||
"Package": "libxo",
|
||||
"Author": "antranigv",
|
||||
"License": "BSD",
|
||||
"Version": "0.1",
|
||||
"Remote":
|
||||
{
|
||||
"package": "libxo",
|
||||
"author": "antranigv",
|
||||
"license": "BSD",
|
||||
"version": "0.1.0",
|
||||
"remote": {
|
||||
"type": "git",
|
||||
"path": "https://github.com/antranigv/voclibxo",
|
||||
"tag" : "0.1"
|
||||
"tag": "0.1.0"
|
||||
},
|
||||
"build": [
|
||||
{
|
||||
"command": "voc -s",
|
||||
"file": "src/xo.Mod"
|
||||
},
|
||||
"Build":
|
||||
[
|
||||
{"command": "voc -s", "file": "src/xo.Mod"},
|
||||
{"command": "CFLAGS=-lxo voc -m", "file": "test/libxo_test.Mod"}
|
||||
]
|
||||
{
|
||||
"command": "CFLAGS=-lxo voc -m",
|
||||
"file": "test/libxo_test.Mod"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
|||
17
libxo/libxo-0.1.0.vipakfile
Normal file
17
libxo/libxo-0.1.0.vipakfile
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
NAME = libxo
|
||||
VERSION = 0.1.0
|
||||
|
||||
AUTHOR = antranigv
|
||||
LICENSE = BSD
|
||||
|
||||
REMOTE = git https://github.com/antranigv/voclibxo 0.1.0
|
||||
|
||||
DEPS =
|
||||
|
||||
RUN =
|
||||
MAIN =
|
||||
BUILD = voc -s src/xo.Mod;CFLAGS=-lxo voc -m test/libxo_test.Mod
|
||||
|
||||
TEST_RUN =
|
||||
TEST_MAIN =
|
||||
TEST =
|
||||
40
lists.json
40
lists.json
|
|
@ -1,22 +1,28 @@
|
|||
{
|
||||
"Package": "lists",
|
||||
"Author": "noch",
|
||||
"License": "GPL-3",
|
||||
"Version": "0.1",
|
||||
"Remote":
|
||||
{
|
||||
"package": "lists",
|
||||
"author": "noch",
|
||||
"license": "GPL-3",
|
||||
"version": "0.1.0",
|
||||
"remote": {
|
||||
"type": "git",
|
||||
"path": "https://github.com/norayr/lists",
|
||||
"tag" : "0.1"
|
||||
},
|
||||
"Dependencies":
|
||||
{
|
||||
"strutils": "0.1"
|
||||
"tag": "0.1.0"
|
||||
},
|
||||
"Build":
|
||||
[
|
||||
{"command": "voc -s", "file": "src/List.Mod"},
|
||||
{"command": "voc -s", "file": "src/StringList.Mod"},
|
||||
{"command": "voc -m", "file": "test/testList.Mod"}
|
||||
]
|
||||
"dependencies": {
|
||||
"strutils": "0.1.0"
|
||||
},
|
||||
"build": [
|
||||
{
|
||||
"command": "voc -s",
|
||||
"file": "src/List.Mod"
|
||||
},
|
||||
{
|
||||
"command": "voc -s",
|
||||
"file": "src/StringList.Mod"
|
||||
},
|
||||
{
|
||||
"command": "voc -m",
|
||||
"file": "test/testList.Mod"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
|||
17
lists/lists-0.1.0.vipakfile
Normal file
17
lists/lists-0.1.0.vipakfile
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
NAME = lists
|
||||
VERSION = 0.1.0
|
||||
|
||||
AUTHOR = noch
|
||||
LICENSE = GPL-3
|
||||
|
||||
REMOTE = git https://github.com/norayr/lists 0.1.0
|
||||
|
||||
DEPS = strutils:0.1.0
|
||||
|
||||
RUN =
|
||||
MAIN =
|
||||
BUILD = voc -s src/List.Mod;voc -s src/StringList.Mod;voc -m test/testList.Mod
|
||||
|
||||
TEST_RUN =
|
||||
TEST_MAIN =
|
||||
TEST =
|
||||
66
manush.json
66
manush.json
|
|
@ -1,32 +1,56 @@
|
|||
{
|
||||
"Package": "manush",
|
||||
"Author": "noch",
|
||||
"License": "BSD 2-Clause License",
|
||||
"Version": "0.1.1",
|
||||
"Remote":
|
||||
{
|
||||
"package": "manush",
|
||||
"author": "noch",
|
||||
"license": "BSD 2-Clause License",
|
||||
"version": "0.1.1",
|
||||
"remote": {
|
||||
"type": "git",
|
||||
"path": "https://github.com/illuria/manush",
|
||||
"branch": "master",
|
||||
"tag" : "0.1"
|
||||
"tag": "0.1"
|
||||
},
|
||||
"Dependencies":
|
||||
{
|
||||
"dependencies": {
|
||||
"lists": "0.1",
|
||||
"opts": "0.1",
|
||||
"pipes": "0.1",
|
||||
"skprJson": "0.1"
|
||||
"skprjson": "0.1"
|
||||
},
|
||||
"Build":
|
||||
[
|
||||
{"command": "voc -s", "file": "src/mnshList.Mod"},
|
||||
{"command": "voc -s", "file": "src/mnshUnix.Mod"},
|
||||
{"command": "voc -s", "file": "src/mnshDefs.Mod"},
|
||||
{"command": "voc -s", "file": "src/mnshCrt.Mod"},
|
||||
{"command": "voc -s", "file": "src/mnshStorage.Mod"},
|
||||
{"command": "voc -s", "file": "src/mnshExtTools.Mod"},
|
||||
{"command": "voc -s", "file": "src/mnshTerm.Mod"},
|
||||
{"command": "voc -s", "file": "src/mnshInput.Mod"},
|
||||
{"command": "voc -M", "file": "src/manush.Mod"}
|
||||
"build": [
|
||||
{
|
||||
"command": "voc -s",
|
||||
"file": "src/mnshList.Mod"
|
||||
},
|
||||
{
|
||||
"command": "voc -s",
|
||||
"file": "src/mnshUnix.Mod"
|
||||
},
|
||||
{
|
||||
"command": "voc -s",
|
||||
"file": "src/mnshDefs.Mod"
|
||||
},
|
||||
{
|
||||
"command": "voc -s",
|
||||
"file": "src/mnshCrt.Mod"
|
||||
},
|
||||
{
|
||||
"command": "voc -s",
|
||||
"file": "src/mnshStorage.Mod"
|
||||
},
|
||||
{
|
||||
"command": "voc -s",
|
||||
"file": "src/mnshExtTools.Mod"
|
||||
},
|
||||
{
|
||||
"command": "voc -s",
|
||||
"file": "src/mnshTerm.Mod"
|
||||
},
|
||||
{
|
||||
"command": "voc -s",
|
||||
"file": "src/mnshInput.Mod"
|
||||
},
|
||||
{
|
||||
"command": "voc -M",
|
||||
"file": "src/manush.Mod"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
|||
17
manush/manush-0.1.1.vipakfile
Normal file
17
manush/manush-0.1.1.vipakfile
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
NAME = manush
|
||||
VERSION = 0.1.1
|
||||
|
||||
AUTHOR = noch
|
||||
LICENSE = BSD 2-Clause License
|
||||
|
||||
REMOTE = git https://github.com/illuria/manush 0.1
|
||||
|
||||
DEPS = lists:0.1 opts:0.1 pipes:0.1 skprjson:0.1
|
||||
|
||||
RUN =
|
||||
MAIN =
|
||||
BUILD = voc -s src/mnshList.Mod;voc -s src/mnshUnix.Mod;voc -s src/mnshDefs.Mod;voc -s src/mnshCrt.Mod;voc -s src/mnshStorage.Mod;voc -s src/mnshExtTools.Mod;voc -s src/mnshTerm.Mod;voc -s src/mnshInput.Mod;voc -M src/manush.Mod
|
||||
|
||||
TEST_RUN =
|
||||
TEST_MAIN =
|
||||
TEST =
|
||||
|
|
@ -1,21 +1,37 @@
|
|||
{
|
||||
"Package": "oberonDS",
|
||||
"Author": "InnaKhachikyan",
|
||||
"License": "unknown",
|
||||
"Version": "0.1",
|
||||
"Remote":
|
||||
{
|
||||
"package": "oberonDS",
|
||||
"author": "InnaKhachikyan",
|
||||
"license": "unknown",
|
||||
"version": "0.1.0",
|
||||
"remote": {
|
||||
"type": "git",
|
||||
"path": "https://github.com/InnaKhachikyan/oberonDS",
|
||||
"tag" : "0.1"
|
||||
"tag": "0.1.0"
|
||||
},
|
||||
"build": [
|
||||
{
|
||||
"command": "voc -s",
|
||||
"file": "src/DynamicArray.Mod"
|
||||
},
|
||||
"Build":
|
||||
[
|
||||
{"command": "voc -s", "file": "src/DynamicArray.Mod"},
|
||||
{"command": "voc -s", "file": "src/HashMap.Mod"},
|
||||
{"command": "voc -s", "file": "src/Map.Mod"},
|
||||
{"command": "voc -m", "file": "test/DynamicArrayTest.Mod"},
|
||||
{"command": "voc -m", "file": "test/HashMapTest.Mod"},
|
||||
{"command": "voc -m", "file": "test/MapTest.Mod"}
|
||||
]
|
||||
{
|
||||
"command": "voc -s",
|
||||
"file": "src/HashMap.Mod"
|
||||
},
|
||||
{
|
||||
"command": "voc -s",
|
||||
"file": "src/Map.Mod"
|
||||
},
|
||||
{
|
||||
"command": "voc -m",
|
||||
"file": "test/DynamicArrayTest.Mod"
|
||||
},
|
||||
{
|
||||
"command": "voc -m",
|
||||
"file": "test/HashMapTest.Mod"
|
||||
},
|
||||
{
|
||||
"command": "voc -m",
|
||||
"file": "test/MapTest.Mod"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
|||
17
oberonDS/oberonDS-0.1.0.vipakfile
Normal file
17
oberonDS/oberonDS-0.1.0.vipakfile
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
NAME = oberonDS
|
||||
VERSION = 0.1.0
|
||||
|
||||
AUTHOR = InnaKhachikyan
|
||||
LICENSE = unknown
|
||||
|
||||
REMOTE = git https://github.com/InnaKhachikyan/oberonDS 0.1.0
|
||||
|
||||
DEPS =
|
||||
|
||||
RUN =
|
||||
MAIN =
|
||||
BUILD = voc -s src/DynamicArray.Mod;voc -s src/HashMap.Mod;voc -s src/Map.Mod;voc -m test/DynamicArrayTest.Mod;voc -m test/HashMapTest.Mod;voc -m test/MapTest.Mod
|
||||
|
||||
TEST_RUN =
|
||||
TEST_MAIN =
|
||||
TEST =
|
||||
38
opts.json
38
opts.json
|
|
@ -1,22 +1,28 @@
|
|||
{
|
||||
"Package": "opts",
|
||||
"Author": "noch",
|
||||
"License": "GPL-3",
|
||||
"Version": "0.1",
|
||||
"Remote":
|
||||
{
|
||||
"package": "opts",
|
||||
"author": "noch",
|
||||
"license": "GPL-3",
|
||||
"version": "0.1.0",
|
||||
"remote": {
|
||||
"type": "git",
|
||||
"path": "https://github.com/norayr/opts",
|
||||
"tag" : "0.1"
|
||||
},
|
||||
"Dependencies":
|
||||
{
|
||||
"lists": "0.1"
|
||||
"tag": "0.1.0"
|
||||
},
|
||||
"Build":
|
||||
[
|
||||
{"command": "voc -s", "file": "src/optsos.Mod"},
|
||||
{"command": "voc -s", "file": "src/opts.Mod"},
|
||||
{"command": "voc -m", "file": "src/testopts.Mod"}
|
||||
"dependencies": {
|
||||
"lists": "0.1.0"
|
||||
},
|
||||
"build": [
|
||||
{
|
||||
"command": "voc -s",
|
||||
"file": "src/optsos.Mod"
|
||||
},
|
||||
{
|
||||
"command": "voc -s",
|
||||
"file": "src/opts.Mod"
|
||||
},
|
||||
{
|
||||
"command": "voc -m",
|
||||
"file": "src/testopts.Mod"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
|||
17
opts/opts-0.1.0.vipakfile
Normal file
17
opts/opts-0.1.0.vipakfile
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
NAME = opts
|
||||
VERSION = 0.1.0
|
||||
|
||||
AUTHOR = noch
|
||||
LICENSE = GPL-3
|
||||
|
||||
REMOTE = git https://github.com/norayr/opts 0.1.0
|
||||
|
||||
DEPS = lists:0.1.0
|
||||
|
||||
RUN =
|
||||
MAIN =
|
||||
BUILD = voc -s src/optsos.Mod;voc -s src/opts.Mod;voc -m src/testopts.Mod
|
||||
|
||||
TEST_RUN =
|
||||
TEST_MAIN =
|
||||
TEST =
|
||||
28
pipes.json
28
pipes.json
|
|
@ -1,17 +1,21 @@
|
|||
{
|
||||
"Package": "pipes",
|
||||
"Author": "noch",
|
||||
"License": "GPL-3",
|
||||
"Version": "0.1",
|
||||
"Remote":
|
||||
{
|
||||
"package": "pipes",
|
||||
"author": "noch",
|
||||
"license": "GPL-3",
|
||||
"version": "0.1.0",
|
||||
"remote": {
|
||||
"type": "git",
|
||||
"path": "https://github.com/norayr/pipes",
|
||||
"tag" : "0.1"
|
||||
"tag": "0.1.0"
|
||||
},
|
||||
"build": [
|
||||
{
|
||||
"command": "voc -s",
|
||||
"file": "src/pipes.Mod"
|
||||
},
|
||||
"Build":
|
||||
[
|
||||
{"command": "voc -s", "file": "src/pipes.Mod"},
|
||||
{"command": "voc -m", "file": "src/testPipes.Mod"}
|
||||
]
|
||||
{
|
||||
"command": "voc -m",
|
||||
"file": "src/testPipes.Mod"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
|||
17
pipes/pipes-0.1.0.vipakfile
Normal file
17
pipes/pipes-0.1.0.vipakfile
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
NAME = pipes
|
||||
VERSION = 0.1.0
|
||||
|
||||
AUTHOR = noch
|
||||
LICENSE = GPL-3
|
||||
|
||||
REMOTE = git https://github.com/norayr/pipes 0.1.0
|
||||
|
||||
DEPS =
|
||||
|
||||
RUN =
|
||||
MAIN =
|
||||
BUILD = voc -s src/pipes.Mod;voc -m src/testPipes.Mod
|
||||
|
||||
TEST_RUN =
|
||||
TEST_MAIN =
|
||||
TEST =
|
||||
|
|
@ -1,21 +1,24 @@
|
|||
{
|
||||
"Package": "postgres",
|
||||
"Author": "noch",
|
||||
"License": "GPL-3",
|
||||
"Version": "0.1",
|
||||
"Remote":
|
||||
{
|
||||
"package": "postgres",
|
||||
"author": "noch",
|
||||
"license": "GPL-3",
|
||||
"version": "0.1.0",
|
||||
"remote": {
|
||||
"type": "git",
|
||||
"path": "https://github.com/norayr/postgres",
|
||||
"tag" : "0.1"
|
||||
"tag": "0.1.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"pipes": "0.1.0"
|
||||
},
|
||||
"build": [
|
||||
{
|
||||
"command": "voc -s",
|
||||
"file": "postgres.Mod"
|
||||
},
|
||||
"Dependencies":
|
||||
{
|
||||
"pipes": "0.1"
|
||||
},
|
||||
"Build":
|
||||
[
|
||||
{"command": "voc -s", "file": "postgres.Mod"},
|
||||
{"command": "voc -m", "file": "PostgresTests.Mod"}
|
||||
]
|
||||
{
|
||||
"command": "voc -m",
|
||||
"file": "PostgresTests.Mod"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
|||
17
postgres/postgres-0.1.0.vipakfile
Normal file
17
postgres/postgres-0.1.0.vipakfile
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
NAME = postgres
|
||||
VERSION = 0.1.0
|
||||
|
||||
AUTHOR = noch
|
||||
LICENSE = GPL-3
|
||||
|
||||
REMOTE = git https://github.com/norayr/postgres 0.1.0
|
||||
|
||||
DEPS = pipes:0.1.0
|
||||
|
||||
RUN =
|
||||
MAIN =
|
||||
BUILD = voc -s postgres.Mod;voc -m PostgresTests.Mod
|
||||
|
||||
TEST_RUN =
|
||||
TEST_MAIN =
|
||||
TEST =
|
||||
|
|
@ -1,22 +1,25 @@
|
|||
{
|
||||
"Package": "skprJson",
|
||||
"Author": "shekspir55",
|
||||
"License": "GPL-3",
|
||||
"Version": "0.1",
|
||||
"Remote":
|
||||
{
|
||||
"package": "skprJson",
|
||||
"author": "shekspir55",
|
||||
"license": "GPL-3",
|
||||
"version": "0.1.0",
|
||||
"remote": {
|
||||
"type": "git",
|
||||
"path": "https://github.com/norayr/skprJson",
|
||||
"tag" : "0.1"
|
||||
},
|
||||
"Dependencies":
|
||||
{
|
||||
"lists": "0.1",
|
||||
"skprLogger": "0.1"
|
||||
"tag": "0.1.0"
|
||||
},
|
||||
"Build":
|
||||
[
|
||||
{"command": "voc -s", "file": "src/skprCharStack.Mod"},
|
||||
{"command": "voc -s", "file": "src/skprJson.Mod"}
|
||||
"dependencies": {
|
||||
"lists": "0.1.0",
|
||||
"skprlogger": "0.1.0"
|
||||
},
|
||||
"build": [
|
||||
{
|
||||
"command": "voc -s",
|
||||
"file": "src/skprCharStack.Mod"
|
||||
},
|
||||
{
|
||||
"command": "voc -s",
|
||||
"file": "src/skprJson.Mod"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
|||
17
skprJson/skprJson-0.1.0.vipakfile
Normal file
17
skprJson/skprJson-0.1.0.vipakfile
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
NAME = skprJson
|
||||
VERSION = 0.1.0
|
||||
|
||||
AUTHOR = shekspir55
|
||||
LICENSE = GPL-3
|
||||
|
||||
REMOTE = git https://github.com/norayr/skprJson 0.1.0
|
||||
|
||||
DEPS = lists:0.1.0 skprlogger:0.1.0
|
||||
|
||||
RUN =
|
||||
MAIN =
|
||||
BUILD = voc -s src/skprCharStack.Mod;voc -s src/skprJson.Mod
|
||||
|
||||
TEST_RUN =
|
||||
TEST_MAIN =
|
||||
TEST =
|
||||
|
|
@ -1,20 +1,20 @@
|
|||
{
|
||||
"Package": "skprLogger",
|
||||
"Author": "shekspir55",
|
||||
"License": "GPL-3",
|
||||
"Version": "0.1",
|
||||
"Remote":
|
||||
{
|
||||
"package": "skprLogger",
|
||||
"author": "shekspir55",
|
||||
"license": "GPL-3",
|
||||
"version": "0.1.0",
|
||||
"remote": {
|
||||
"type": "git",
|
||||
"path": "https://github.com/norayr/skprLogger",
|
||||
"tag" : "0.1"
|
||||
},
|
||||
"Dependencies":
|
||||
{
|
||||
"time": "0.1"
|
||||
"tag": "0.1.0"
|
||||
},
|
||||
"Build":
|
||||
[
|
||||
{"command": "voc -s", "file": "src/skprLogger.Mod"}
|
||||
"dependencies": {
|
||||
"time": "0.1.0"
|
||||
},
|
||||
"build": [
|
||||
{
|
||||
"command": "voc -s",
|
||||
"file": "src/skprLogger.Mod"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
|||
17
skprLogger/skprLogger-0.1.0.vipakfile
Normal file
17
skprLogger/skprLogger-0.1.0.vipakfile
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
NAME = skprLogger
|
||||
VERSION = 0.1.0
|
||||
|
||||
AUTHOR = shekspir55
|
||||
LICENSE = GPL-3
|
||||
|
||||
REMOTE = git https://github.com/norayr/skprLogger 0.1.0
|
||||
|
||||
DEPS = time:0.1.0
|
||||
|
||||
RUN =
|
||||
MAIN =
|
||||
BUILD = voc -s src/skprLogger.Mod
|
||||
|
||||
TEST_RUN =
|
||||
TEST_MAIN =
|
||||
TEST =
|
||||
|
|
@ -1,18 +1,25 @@
|
|||
{
|
||||
"Package": "strutils",
|
||||
"Author": "noch",
|
||||
"License": "GPL-3",
|
||||
"Version": "0.1",
|
||||
"Remote":
|
||||
{
|
||||
"package": "strutils",
|
||||
"author": "noch",
|
||||
"license": "GPL-3",
|
||||
"version": "0.1.0",
|
||||
"remote": {
|
||||
"type": "git",
|
||||
"path": "https://github.com/norayr/strutils",
|
||||
"tag" : "0.1"
|
||||
"tag": "0.1.0"
|
||||
},
|
||||
"build": [
|
||||
{
|
||||
"command": "voc -s",
|
||||
"file": "src/strTypes.Mod"
|
||||
},
|
||||
"Build":
|
||||
[
|
||||
{"command": "voc -s", "file": "src/strTypes.Mod"},
|
||||
{"command": "voc -s", "file": "src/strUtils.Mod"},
|
||||
{"command": "voc -m", "file": "test/testStrUtils.Mod"}
|
||||
]
|
||||
{
|
||||
"command": "voc -s",
|
||||
"file": "src/strUtils.Mod"
|
||||
},
|
||||
{
|
||||
"command": "voc -m",
|
||||
"file": "test/testStrUtils.Mod"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
|||
17
strutils/strutils-0.1.0.vipakfile
Normal file
17
strutils/strutils-0.1.0.vipakfile
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
NAME = strutils
|
||||
VERSION = 0.1.0
|
||||
|
||||
AUTHOR = noch
|
||||
LICENSE = GPL-3
|
||||
|
||||
REMOTE = git https://github.com/norayr/strutils 0.1.0
|
||||
|
||||
DEPS =
|
||||
|
||||
RUN =
|
||||
MAIN =
|
||||
BUILD = voc -s src/strTypes.Mod;voc -s src/strUtils.Mod;voc -m test/testStrUtils.Mod
|
||||
|
||||
TEST_RUN =
|
||||
TEST_MAIN =
|
||||
TEST =
|
||||
|
|
@ -1,28 +1,39 @@
|
|||
{
|
||||
"Package": "strutils2",
|
||||
"Author": "noch",
|
||||
"License": "GPL-3",
|
||||
"Version": "0.1",
|
||||
"Remote": {
|
||||
"Type": "https",
|
||||
"Files": [
|
||||
{
|
||||
"URL": "https://norayr.am/vpk/strutils/src/strTypes.Mod",
|
||||
"AuthType": "BasicAuth",
|
||||
"AuthCredentials": {"User": "tactun", "Password": "tactun"},
|
||||
"MD5": "3d3a2782bb5d244824fe2fe7bd214f74"
|
||||
},
|
||||
{
|
||||
"URL": "https://norayr.am/vpk/strutils/src/strUtils.Mod",
|
||||
"AuthType": "BasicAuth",
|
||||
"AuthCredentials": {"User": "tactun", "Password": "tactun"},
|
||||
"MD5": "43146f0d62473f2ac05b327792ec1258"
|
||||
}
|
||||
]
|
||||
},
|
||||
"Build":
|
||||
[
|
||||
{"Command": "voc -s", "File": "strTypes.Mod"},
|
||||
{"Command": "voc -s", "File": "strUtils.Mod"}
|
||||
"package": "strutils2",
|
||||
"author": "noch",
|
||||
"license": "GPL-3",
|
||||
"version": "0.1.0",
|
||||
"remote": {
|
||||
"type": "https",
|
||||
"files": [
|
||||
{
|
||||
"url": "https://norayr.am/vpk/strutils/src/strTypes.Mod",
|
||||
"authtype": "BasicAuth",
|
||||
"authcredentials": {
|
||||
"user": "tactun",
|
||||
"password": "tactun"
|
||||
},
|
||||
"md5": "3d3a2782bb5d244824fe2fe7bd214f74"
|
||||
},
|
||||
{
|
||||
"url": "https://norayr.am/vpk/strutils/src/strUtils.Mod",
|
||||
"authtype": "BasicAuth",
|
||||
"authcredentials": {
|
||||
"user": "tactun",
|
||||
"password": "tactun"
|
||||
},
|
||||
"md5": "43146f0d62473f2ac05b327792ec1258"
|
||||
}
|
||||
]
|
||||
},
|
||||
"build": [
|
||||
{
|
||||
"command": "voc -s",
|
||||
"file": "strTypes.Mod"
|
||||
},
|
||||
{
|
||||
"command": "voc -s",
|
||||
"file": "strUtils.Mod"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
|||
17
strutils2/strutils2-0.1.0.vipakfile
Normal file
17
strutils2/strutils2-0.1.0.vipakfile
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
NAME = strutils2
|
||||
VERSION = 0.1.0
|
||||
|
||||
AUTHOR = noch
|
||||
LICENSE = GPL-3
|
||||
|
||||
REMOTE = https https://tactun:tactun@norayr.am/vpk/strutils/src/strTypes.Mod md5,3d3a2782bb5d244824fe2fe7bd214f74;https://tactun:tactun@norayr.am/vpk/strutils/src/strUtils.Mod md5,43146f0d62473f2ac05b327792ec1258
|
||||
|
||||
DEPS =
|
||||
|
||||
RUN =
|
||||
MAIN =
|
||||
BUILD = voc -s strTypes.Mod;voc -s strUtils.Mod
|
||||
|
||||
TEST_RUN =
|
||||
TEST_MAIN =
|
||||
TEST =
|
||||
|
|
@ -1,24 +1,27 @@
|
|||
{
|
||||
"Package": "test_server",
|
||||
"Author": "noch",
|
||||
"License": "GPL-3",
|
||||
"Version": "0.1",
|
||||
"Remote":
|
||||
{
|
||||
"package": "test_server",
|
||||
"author": "noch",
|
||||
"license": "GPL-3",
|
||||
"version": "0.1.0",
|
||||
"remote": {
|
||||
"type": "git",
|
||||
"path": "https://github.com/norayr/test_server",
|
||||
"tag" : "0.1"
|
||||
},
|
||||
"Dependencies":
|
||||
{
|
||||
"lists": "0.1",
|
||||
"Internet":"0.1",
|
||||
"time": "0.1",
|
||||
"fifo": "0.1"
|
||||
"tag": "0.1.0"
|
||||
},
|
||||
"Build":
|
||||
[
|
||||
{"command": "voc -m", "file": "src/testServer.Mod"},
|
||||
{"command": "voc -m", "file": "src/testClient.Mod"}
|
||||
"dependencies": {
|
||||
"lists": "0.1.0",
|
||||
"internet": "0.1.0",
|
||||
"time": "0.1.0",
|
||||
"fifo": "0.1.0"
|
||||
},
|
||||
"build": [
|
||||
{
|
||||
"command": "voc -m",
|
||||
"file": "src/testServer.Mod"
|
||||
},
|
||||
{
|
||||
"command": "voc -m",
|
||||
"file": "src/testClient.Mod"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
|||
17
test_server/test_server-0.1.0.vipakfile
Normal file
17
test_server/test_server-0.1.0.vipakfile
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
NAME = test_server
|
||||
VERSION = 0.1.0
|
||||
|
||||
AUTHOR = noch
|
||||
LICENSE = GPL-3
|
||||
|
||||
REMOTE = git https://github.com/norayr/test_server 0.1.0
|
||||
|
||||
DEPS = lists:0.1.0 internet:0.1.0 time:0.1.0 fifo:0.1.0
|
||||
|
||||
RUN =
|
||||
MAIN =
|
||||
BUILD = voc -m src/testServer.Mod;voc -m src/testClient.Mod
|
||||
|
||||
TEST_RUN =
|
||||
TEST_MAIN =
|
||||
TEST =
|
||||
23
time.json
23
time.json
|
|
@ -1,16 +1,17 @@
|
|||
{
|
||||
"Package": "time",
|
||||
"Author": "noch",
|
||||
"License": "GPL-3",
|
||||
"Version": "0.1",
|
||||
"Remote":
|
||||
{
|
||||
"package": "time",
|
||||
"author": "noch",
|
||||
"license": "GPL-3",
|
||||
"version": "0.1.0",
|
||||
"remote": {
|
||||
"type": "git",
|
||||
"path": "https://github.com/norayr/time",
|
||||
"tag" : "0.1"
|
||||
},
|
||||
"Build":
|
||||
[
|
||||
{"command": "voc -s", "file": "src/time.Mod"}
|
||||
"tag": "0.1.0"
|
||||
},
|
||||
"build": [
|
||||
{
|
||||
"command": "voc -s",
|
||||
"file": "src/time.Mod"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
|||
17
time/time-0.1.0.vipakfile
Normal file
17
time/time-0.1.0.vipakfile
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
NAME = time
|
||||
VERSION = 0.1.0
|
||||
|
||||
AUTHOR = noch
|
||||
LICENSE = GPL-3
|
||||
|
||||
REMOTE = git https://github.com/norayr/time 0.1.0
|
||||
|
||||
DEPS =
|
||||
|
||||
RUN =
|
||||
MAIN =
|
||||
BUILD = voc -s src/time.Mod
|
||||
|
||||
TEST_RUN =
|
||||
TEST_MAIN =
|
||||
TEST =
|
||||
|
|
@ -1,17 +1,21 @@
|
|||
{
|
||||
"Package": "unixFileSystem",
|
||||
"Author": "noch",
|
||||
"License": "GPL-3",
|
||||
"Version": "0.1",
|
||||
"Remote":
|
||||
{
|
||||
"package": "unixFileSystem",
|
||||
"author": "noch",
|
||||
"license": "GPL-3",
|
||||
"version": "0.1.0",
|
||||
"remote": {
|
||||
"type": "git",
|
||||
"path": "https://github.com/norayr/unixFileSystem",
|
||||
"tag" : "0.1"
|
||||
"tag": "0.1.0"
|
||||
},
|
||||
"build": [
|
||||
{
|
||||
"command": "voc -s",
|
||||
"file": "src/UnixFS.Mod"
|
||||
},
|
||||
"Build":
|
||||
[
|
||||
{"command": "voc -s", "file": "src/UnixFS.Mod"},
|
||||
{"command": "voc -m", "file": "test/TestUnixFS.Mod"}
|
||||
{
|
||||
"command": "voc -m",
|
||||
"file": "test/TestUnixFS.Mod"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
|||
17
unixFileSystem/unixFileSystem-0.1.0.vipakfile
Normal file
17
unixFileSystem/unixFileSystem-0.1.0.vipakfile
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
NAME = unixFileSystem
|
||||
VERSION = 0.1.0
|
||||
|
||||
AUTHOR = noch
|
||||
LICENSE = GPL-3
|
||||
|
||||
REMOTE = git https://github.com/norayr/unixFileSystem 0.1.0
|
||||
|
||||
DEPS =
|
||||
|
||||
RUN =
|
||||
MAIN =
|
||||
BUILD = voc -s src/UnixFS.Mod;voc -m test/TestUnixFS.Mod
|
||||
|
||||
TEST_RUN =
|
||||
TEST_MAIN =
|
||||
TEST =
|
||||
23
unixfs.json
23
unixfs.json
|
|
@ -1,16 +1,17 @@
|
|||
{
|
||||
"Package": "unixfs",
|
||||
"Author": "noch",
|
||||
"License": "GPL-3",
|
||||
"Version": "0.1",
|
||||
"Remote":
|
||||
{
|
||||
"package": "unixfs",
|
||||
"author": "noch",
|
||||
"license": "GPL-3",
|
||||
"version": "0.1.0",
|
||||
"remote": {
|
||||
"type": "git",
|
||||
"path": "https://github.com/norayr/unixfs",
|
||||
"tag" : "0.1"
|
||||
},
|
||||
"Build":
|
||||
[
|
||||
{"command": "voc -s", "file": "src/unixFiles.Mod"}
|
||||
"tag": "0.1.0"
|
||||
},
|
||||
"build": [
|
||||
{
|
||||
"command": "voc -s",
|
||||
"file": "src/unixFiles.Mod"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
|||
17
unixfs/unixfs-0.1.0.vipakfile
Normal file
17
unixfs/unixfs-0.1.0.vipakfile
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
NAME = unixfs
|
||||
VERSION = 0.1.0
|
||||
|
||||
AUTHOR = noch
|
||||
LICENSE = GPL-3
|
||||
|
||||
REMOTE = git https://github.com/norayr/unixfs 0.1.0
|
||||
|
||||
DEPS =
|
||||
|
||||
RUN =
|
||||
MAIN =
|
||||
BUILD = voc -s src/unixFiles.Mod
|
||||
|
||||
TEST_RUN =
|
||||
TEST_MAIN =
|
||||
TEST =
|
||||
36
vpicl.json
36
vpicl.json
|
|
@ -1,19 +1,29 @@
|
|||
{
|
||||
"Package": "vpicl",
|
||||
"Author": "noch",
|
||||
"License": "GPL-3",
|
||||
"Version": "0.1",
|
||||
"Remote":
|
||||
{
|
||||
"package": "vpicl",
|
||||
"author": "noch",
|
||||
"license": "GPL-3",
|
||||
"version": "0.1.0",
|
||||
"remote": {
|
||||
"type": "git",
|
||||
"path": "https://github.com/norayr/vpicl",
|
||||
"tag" : "0.1"
|
||||
"tag": "0.1.0"
|
||||
},
|
||||
"build": [
|
||||
{
|
||||
"command": "voc -s",
|
||||
"file": "POutput.Mod"
|
||||
},
|
||||
"Build":
|
||||
[
|
||||
{"command": "voc -s", "file": "POutput.Mod"},
|
||||
{"command": "voc -s", "file": "PErrors.Mod"},
|
||||
{"command": "voc -s", "file": "PICS.Mod"},
|
||||
{"command": "voc -m", "file": "PICL.Mod"}
|
||||
{
|
||||
"command": "voc -s",
|
||||
"file": "PErrors.Mod"
|
||||
},
|
||||
{
|
||||
"command": "voc -s",
|
||||
"file": "PICS.Mod"
|
||||
},
|
||||
{
|
||||
"command": "voc -m",
|
||||
"file": "PICL.Mod"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
|||
17
vpicl/vpicl-0.1.0.vipakfile
Normal file
17
vpicl/vpicl-0.1.0.vipakfile
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
NAME = vpicl
|
||||
VERSION = 0.1.0
|
||||
|
||||
AUTHOR = noch
|
||||
LICENSE = GPL-3
|
||||
|
||||
REMOTE = git https://github.com/norayr/vpicl 0.1.0
|
||||
|
||||
DEPS =
|
||||
|
||||
RUN =
|
||||
MAIN =
|
||||
BUILD = voc -s POutput.Mod;voc -s PErrors.Mod;voc -s PICS.Mod;voc -m PICL.Mod
|
||||
|
||||
TEST_RUN =
|
||||
TEST_MAIN =
|
||||
TEST =
|
||||
23
xattr.json
23
xattr.json
|
|
@ -1,16 +1,17 @@
|
|||
{
|
||||
"Package": "xattr",
|
||||
"Author": "noch",
|
||||
"License": "GPL-3",
|
||||
"Version": "0.1",
|
||||
"Remote":
|
||||
{
|
||||
"package": "xattr",
|
||||
"author": "noch",
|
||||
"license": "GPL-3",
|
||||
"version": "0.1.0",
|
||||
"remote": {
|
||||
"type": "git",
|
||||
"path": "https://github.com/norayr/xattr",
|
||||
"tag" : "0.1"
|
||||
},
|
||||
"Build":
|
||||
[
|
||||
{"command": "voc -s", "file": "src/xattr.Mod"}
|
||||
"tag": "0.1.0"
|
||||
},
|
||||
"build": [
|
||||
{
|
||||
"command": "voc -s",
|
||||
"file": "src/xattr.Mod"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
|||
17
xattr/xattr-0.1.0.vipakfile
Normal file
17
xattr/xattr-0.1.0.vipakfile
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
NAME = xattr
|
||||
VERSION = 0.1.0
|
||||
|
||||
AUTHOR = noch
|
||||
LICENSE = GPL-3
|
||||
|
||||
REMOTE = git https://github.com/norayr/xattr 0.1.0
|
||||
|
||||
DEPS =
|
||||
|
||||
RUN =
|
||||
MAIN =
|
||||
BUILD = voc -s src/xattr.Mod
|
||||
|
||||
TEST_RUN =
|
||||
TEST_MAIN =
|
||||
TEST =
|
||||
Loading…
Add table
Add a link
Reference in a new issue