mirror of
https://github.com/vishapoberon/vipatsar.git
synced 2026-04-05 21:12:25 +00:00
Massive improvements for upcoming updates
- All JSON definitions have been updates to become lowercase - _Scripts/convert_vipakfile.sh now understand BasicAuth - Improvements to the overall code
This commit is contained in:
parent
91191b6b62
commit
5bf0a1065c
44 changed files with 896 additions and 491 deletions
|
|
@ -1,16 +1,17 @@
|
||||||
{
|
{
|
||||||
"Package": "Bron-Dijkstra-Strings",
|
"package": "Bron-Dijkstra-Strings",
|
||||||
"Author": "noch",
|
"author": "noch",
|
||||||
"License": "GPL-3",
|
"license": "GPL-3",
|
||||||
"Version": "0.1.0",
|
"version": "0.1.0",
|
||||||
"Remote":
|
"remote": {
|
||||||
{
|
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"path": "https://github.com/norayr/Bron-Dijkstra-Strings",
|
"path": "https://github.com/norayr/Bron-Dijkstra-Strings",
|
||||||
"tag" : "0.1.0"
|
"tag": "0.1.0"
|
||||||
},
|
},
|
||||||
"Build":
|
"build": [
|
||||||
[
|
{
|
||||||
{"command": "voc -s", "file": "bdStrings.Mod"}
|
"command": "voc -s",
|
||||||
|
"file": "bdStrings.Mod"
|
||||||
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,26 +1,48 @@
|
||||||
{
|
{
|
||||||
"Package": "Internet",
|
"package": "Internet",
|
||||||
"Author": "noch",
|
"author": "noch",
|
||||||
"License": "GPL-3",
|
"license": "GPL-3",
|
||||||
"Version": "0.1.0",
|
"version": "0.1.0",
|
||||||
"Remote":
|
"remote": {
|
||||||
{
|
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"path": "https://github.com/norayr/Internet",
|
"path": "https://github.com/norayr/Internet",
|
||||||
"tag" : "0.1.0"
|
"tag": "0.1.0"
|
||||||
},
|
},
|
||||||
"Dependencies":
|
"dependencies": {
|
||||||
{
|
|
||||||
"time": "0.1.0"
|
"time": "0.1.0"
|
||||||
},
|
},
|
||||||
"Build": [
|
"build": [
|
||||||
{"command": "voc -s", "file": "src/netTypes.Mod"},
|
{
|
||||||
{"command": "voc -s", "file": "src/netdb.Mod"},
|
"command": "voc -s",
|
||||||
{"command": "voc -s", "file": "src/netSockets.Mod"},
|
"file": "src/netTypes.Mod"
|
||||||
{"command": "voc -s", "file": "src/Internet.Mod"},
|
},
|
||||||
{"command": "voc -s", "file": "src/netForker.Mod"},
|
{
|
||||||
{"command": "voc -s", "file": "src/server.Mod"},
|
"command": "voc -s",
|
||||||
{"command": "voc -m", "file": "tst/testClient.Mod"},
|
"file": "src/netdb.Mod"
|
||||||
{"command": "voc -m", "file": "tst/testServer.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"
|
||||||
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,48 +1,43 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
# convert_vipakfile.sh: Convert JSON vipakfile to plain-text .vipakfile format
|
||||||
|
|
||||||
# convert_vipakfile.sh: Convert old JSON vipakfile to new plain-text format
|
|
||||||
|
|
||||||
# Program name and version
|
|
||||||
PROGNAME=${0##*/}
|
PROGNAME=${0##*/}
|
||||||
VERSION="0.1.0"
|
VERSION="0.1.0"
|
||||||
|
|
||||||
# Colors for output
|
|
||||||
COLOUR_SET_R="\033[0;31m"
|
COLOUR_SET_R="\033[0;31m"
|
||||||
COLOUR_SET_G="\033[0;32m"
|
COLOUR_SET_G="\033[0;32m"
|
||||||
COLOUR_SET_B="\033[0;34m"
|
COLOUR_SET_B="\033[0;34m"
|
||||||
COLOUR_END="\033[0m"
|
COLOUR_END="\033[0m"
|
||||||
|
|
||||||
# Error, info, and action print functions
|
|
||||||
perror() {
|
perror() {
|
||||||
printf "${COLOUR_SET_R}[-] ${COLOUR_END}%s\n" "$@" >&2
|
printf "${COLOUR_SET_R}[-] ${COLOUR_END}%s\n" "$@" >&2
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
|
|
||||||
pinfo() {
|
pinfo() {
|
||||||
printf "${COLOUR_SET_B}[+] ${COLOUR_END}%s\n" "$@" >&2
|
printf "${COLOUR_SET_B}[*] ${COLOUR_END}%s\n" "$@" >&2
|
||||||
}
|
}
|
||||||
|
|
||||||
paction() {
|
paction() {
|
||||||
printf "${COLOUR_SET_G}[*] ${COLOUR_END}%s\n" "$@" >&2
|
printf "${COLOUR_SET_G}[+] ${COLOUR_END}%s\n" "$@" >&2
|
||||||
}
|
}
|
||||||
|
|
||||||
# Usage message
|
|
||||||
usage() {
|
usage() {
|
||||||
cat <<EOF
|
cat <<EOF
|
||||||
Usage: $PROGNAME [-o <output_file> | -c] [-f] [--verbose] <input_json_file>
|
Usage: $PROGNAME [-o <output_file> | -c] [-f] [--verbose] <input_json_file>
|
||||||
Convert old JSON vipakfile to new plain-text format.
|
Convert JSON vipakfile to new plain-text .vipakfile format.
|
||||||
-o <output_file> Write to specified file (default: stdout)
|
-o <output_file> Write to specified file (default: stdout)
|
||||||
-c Write to <Package>-<Version>.vipakfile
|
-c Write to <package>-<version>.vipakfile
|
||||||
-f Force overwrite of existing output file
|
-f Force overwrite of existing output file
|
||||||
--verbose Print debug information about extracted fields
|
--verbose Print debug information about extracted fields
|
||||||
EOF
|
EOF
|
||||||
exit 0
|
exit 0
|
||||||
}
|
}
|
||||||
|
|
||||||
# Check dependencies
|
|
||||||
command -v jq >/dev/null 2>&1 || perror "jq is required but not found"
|
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"
|
||||||
|
|
||||||
# Parse arguments
|
|
||||||
output_mode="stdout"
|
output_mode="stdout"
|
||||||
output_file=""
|
output_file=""
|
||||||
input_file=""
|
input_file=""
|
||||||
|
|
@ -83,44 +78,88 @@ done
|
||||||
[ -f "$input_file" ] || perror "Input file '$input_file' not found"
|
[ -f "$input_file" ] || perror "Input file '$input_file' not found"
|
||||||
[ -r "$input_file" ] || perror "Input file '$input_file' is not readable"
|
[ -r "$input_file" ] || perror "Input file '$input_file' is not readable"
|
||||||
|
|
||||||
# Validate JSON
|
|
||||||
jq -e . "$input_file" >/dev/null 2>&1 || perror "Invalid JSON in $input_file"
|
jq -e . "$input_file" >/dev/null 2>&1 || perror "Invalid JSON in $input_file"
|
||||||
|
|
||||||
# Extract fields using jq
|
|
||||||
paction "Parsing $input_file"
|
paction "Parsing $input_file"
|
||||||
name=$(jq -r '.Package // ""' "$input_file")
|
name=$(jq -r '.package // ""' "$input_file")
|
||||||
version=$(jq -r '.Version // ""' "$input_file")
|
version=$(jq -r '.version // ""' "$input_file")
|
||||||
author=$(jq -r '.Author // ""' "$input_file")
|
author=$(jq -r '.author // ""' "$input_file")
|
||||||
license=$(jq -r '.License // ""' "$input_file")
|
license=$(jq -r '.license // ""' "$input_file")
|
||||||
|
|
||||||
# Validate required fields
|
[ -z "$name" ] && perror "package field is required"
|
||||||
[ -z "$name" ] && perror "Package name is required"
|
[ -z "$version" ] && perror "version field is required"
|
||||||
[ -z "$version" ] && perror "Version is required"
|
|
||||||
|
|
||||||
# Extract Remote (type, path, tag)
|
# Extract Remote (handle git and https)
|
||||||
remote_type=$(jq -r '.Remote.type // ""' "$input_file")
|
remote_type=$(jq -r '.remote.type // ""' "$input_file")
|
||||||
remote_path=$(jq -r '.Remote.path // ""' "$input_file")
|
|
||||||
remote_tag=$(jq -r '.Remote.tag // ""' "$input_file")
|
|
||||||
remote=""
|
remote=""
|
||||||
if [ -n "$remote_type" ] && [ -n "$remote_path" ] && [ -n "$remote_tag" ]; then
|
case "$remote_type" in
|
||||||
remote="$remote_type $remote_path $remote_tag"
|
git)
|
||||||
fi
|
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
|
||||||
|
|
||||||
# Extract Dependencies as space-separated list
|
deps=$(jq -r 'if .dependencies then .dependencies | to_entries | map("\(.key):\(.value)") | join(" ") else "" end' "$input_file")
|
||||||
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")
|
||||||
|
|
||||||
# Extract Build commands as semicolon-separated list
|
|
||||||
build=$(jq -r '.Build | map(.command + " " + .file) | join(";")' "$input_file")
|
|
||||||
[ "$build" = "null" ] && build=""
|
[ "$build" = "null" ] && build=""
|
||||||
|
|
||||||
# Default empty fields
|
|
||||||
run=""
|
run=""
|
||||||
main=""
|
main=""
|
||||||
test_run=""
|
test_run=""
|
||||||
test_main=""
|
test_main=""
|
||||||
test_cmd=""
|
test_cmd=""
|
||||||
|
|
||||||
# Verbose output
|
|
||||||
[ -n "$verbose" ] && {
|
[ -n "$verbose" ] && {
|
||||||
pinfo "Extracted fields:"
|
pinfo "Extracted fields:"
|
||||||
pinfo " NAME=$name"
|
pinfo " NAME=$name"
|
||||||
|
|
@ -137,7 +176,6 @@ test_cmd=""
|
||||||
pinfo " TEST=$test_cmd"
|
pinfo " TEST=$test_cmd"
|
||||||
}
|
}
|
||||||
|
|
||||||
# Generate vipakfile content
|
|
||||||
vipakfile_content=$(cat <<EOF
|
vipakfile_content=$(cat <<EOF
|
||||||
NAME = $name
|
NAME = $name
|
||||||
VERSION = $version
|
VERSION = $version
|
||||||
|
|
@ -159,7 +197,6 @@ TEST = $test_cmd
|
||||||
EOF
|
EOF
|
||||||
)
|
)
|
||||||
|
|
||||||
# Handle output
|
|
||||||
case "$output_mode" in
|
case "$output_mode" in
|
||||||
stdout)
|
stdout)
|
||||||
paction "Writing to stdout"
|
paction "Writing to stdout"
|
||||||
4
convert_vipatsar.sh → _Scripts/convert_vipatsar.sh
Normal file → Executable file
4
convert_vipatsar.sh → _Scripts/convert_vipatsar.sh
Normal file → Executable file
|
|
@ -1,5 +1,4 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
# convert_vipatsar.sh: Convert old JSON vipakfiles to new plain-text format with
|
# convert_vipatsar.sh: Convert old JSON vipakfiles to new plain-text format with
|
||||||
# proper file naming and versioning using convert_vipakfile.sh
|
# proper file naming and versioning using convert_vipakfile.sh
|
||||||
|
|
||||||
|
|
@ -35,8 +34,9 @@ do
|
||||||
pinfo "Working on ${port}"
|
pinfo "Working on ${port}"
|
||||||
cd $dir
|
cd $dir
|
||||||
paction "Converting ${port}.json"
|
paction "Converting ${port}.json"
|
||||||
../convert_vipakfile.sh -c "${port}.json"
|
../_Scripts/convert_vipakfile.sh -c "../${port}.json"
|
||||||
pinfo "Conversion done"
|
pinfo "Conversion done"
|
||||||
|
|
||||||
cd - >/dev/null || return
|
cd - >/dev/null || return
|
||||||
done
|
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"
|
||||||
145
_Scripts/validate_json.sh
Executable file
145
_Scripts/validate_json.sh
Executable file
|
|
@ -0,0 +1,145 @@
|
||||||
|
#!/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 '.dependencies | type != "object"' "$json" >/dev/null 2>/dev/null; then
|
||||||
|
perror "$json invalid dependencies field (must be object)"
|
||||||
|
errors=$((errors + 1))
|
||||||
|
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
|
||||||
21
armscii.json
21
armscii.json
|
|
@ -1,16 +1,17 @@
|
||||||
{
|
{
|
||||||
"Package": "Internet",
|
"package": "Internet",
|
||||||
"Author": "noch",
|
"author": "noch",
|
||||||
"License": "GPL-3",
|
"license": "GPL-3",
|
||||||
"Version": "0.1.0",
|
"version": "0.1.0",
|
||||||
"Remote":
|
"remote": {
|
||||||
{
|
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"path": "https://github.com/norayr/armscii",
|
"path": "https://github.com/norayr/armscii",
|
||||||
"tag" : "0.1.0"
|
"tag": "0.1.0"
|
||||||
},
|
},
|
||||||
"Build":
|
"build": [
|
||||||
[
|
{
|
||||||
{"command": "voc -s", "file": "ArmsciiUTF.Mod"}
|
"command": "voc -s",
|
||||||
|
"file": "ArmsciiUTF.Mod"
|
||||||
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,21 +1,21 @@
|
||||||
{
|
{
|
||||||
"Package": "armscii2",
|
"package": "armscii2",
|
||||||
"Author": "noch",
|
"author": "noch",
|
||||||
"License": "GPL-3",
|
"license": "GPL-3",
|
||||||
"Version": "0.1.0",
|
"version": "0.1.0",
|
||||||
"Remote": {
|
"remote": {
|
||||||
"Type": "https",
|
"type": "https",
|
||||||
"Files": [
|
"files": [
|
||||||
{
|
{
|
||||||
"URL": "https://norayr.am/vpk2/armscii/ArmsciiUTF.Mod",
|
"url": "https://norayr.am/vpk2/armscii/ArmsciiUTF.Mod",
|
||||||
"MD5": "14790276c48db775a5fee99a48525dd9"
|
"md5": "14790276c48db775a5fee99a48525dd9"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"Build": [
|
"build": [
|
||||||
{
|
{
|
||||||
"Command": "voc -s",
|
"command": "voc -s",
|
||||||
"File": "ArmsciiUTF.Mod"
|
"file": "ArmsciiUTF.Mod"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -4,13 +4,13 @@ VERSION = 0.1.0
|
||||||
AUTHOR = noch
|
AUTHOR = noch
|
||||||
LICENSE = GPL-3
|
LICENSE = GPL-3
|
||||||
|
|
||||||
REMOTE =
|
REMOTE = https https://norayr.am/vpk2/armscii/ArmsciiUTF.Mod md5,14790276c48db775a5fee99a48525dd9
|
||||||
|
|
||||||
DEPS =
|
DEPS =
|
||||||
|
|
||||||
RUN =
|
RUN =
|
||||||
MAIN =
|
MAIN =
|
||||||
BUILD =
|
BUILD = voc -s ArmsciiUTF.Mod
|
||||||
|
|
||||||
TEST_RUN =
|
TEST_RUN =
|
||||||
TEST_MAIN =
|
TEST_MAIN =
|
||||||
|
|
|
||||||
21
base64.json
21
base64.json
|
|
@ -1,16 +1,17 @@
|
||||||
{
|
{
|
||||||
"Package": "base64",
|
"package": "base64",
|
||||||
"Author": "noch",
|
"author": "noch",
|
||||||
"License": "GPL-3",
|
"license": "GPL-3",
|
||||||
"Version": "0.1.0",
|
"version": "0.1.0",
|
||||||
"Remote":
|
"remote": {
|
||||||
{
|
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"path": "https://github.com/norayr/base64",
|
"path": "https://github.com/norayr/base64",
|
||||||
"tag" : "0.1.0"
|
"tag": "0.1.0"
|
||||||
},
|
},
|
||||||
"Build":
|
"build": [
|
||||||
[
|
{
|
||||||
{"command": "voc -s", "file": "src/Base64.Mod"}
|
"command": "voc -s",
|
||||||
|
"file": "src/Base64.Mod"
|
||||||
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
||||||
30
cairo.json
30
cairo.json
|
|
@ -1,22 +1,22 @@
|
||||||
{
|
{
|
||||||
"Package": "cairo",
|
"package": "cairo",
|
||||||
"Author": "une",
|
"author": "une",
|
||||||
"License": "GPL-3",
|
"license": "GPL-3",
|
||||||
"Version": "0.1.0",
|
"version": "0.1.0",
|
||||||
|
"remote": {
|
||||||
"Remote": {
|
"type": "https",
|
||||||
"Type": "https",
|
"files": [
|
||||||
"Files": [
|
|
||||||
{
|
{
|
||||||
"URL": "https://codeberg.org/une/oberon-cairo/raw/commit/bca71235f8/Cairo.mod",
|
"url": "https://codeberg.org/une/oberon-cairo/raw/commit/bca71235f8/Cairo.mod",
|
||||||
"AuthType": "None",
|
"authtype": "None",
|
||||||
"MD5": "e6f3d616481b1c5da1c9eebdb2e75ae7"
|
"md5": "e6f3d616481b1c5da1c9eebdb2e75ae7"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
"build": [
|
||||||
"Build": [
|
{
|
||||||
{"Command": "voc -s", "File": "Cairo.mod"}
|
"command": "voc -s",
|
||||||
|
"file": "Cairo.mod"
|
||||||
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -4,13 +4,13 @@ VERSION = 0.1.0
|
||||||
AUTHOR = une
|
AUTHOR = une
|
||||||
LICENSE = GPL-3
|
LICENSE = GPL-3
|
||||||
|
|
||||||
REMOTE =
|
REMOTE = https https://codeberg.org/une/oberon-cairo/raw/commit/bca71235f8/Cairo.mod md5,e6f3d616481b1c5da1c9eebdb2e75ae7
|
||||||
|
|
||||||
DEPS =
|
DEPS =
|
||||||
|
|
||||||
RUN =
|
RUN =
|
||||||
MAIN =
|
MAIN =
|
||||||
BUILD =
|
BUILD = voc -s Cairo.mod
|
||||||
|
|
||||||
TEST_RUN =
|
TEST_RUN =
|
||||||
TEST_MAIN =
|
TEST_MAIN =
|
||||||
|
|
|
||||||
24
dbg.json
24
dbg.json
|
|
@ -1,20 +1,20 @@
|
||||||
{
|
{
|
||||||
"Package": "dbg",
|
"package": "dbg",
|
||||||
"Author": "noch",
|
"author": "noch",
|
||||||
"License": "GPL-3",
|
"license": "GPL-3",
|
||||||
"Version": "0.1.0",
|
"version": "0.1.0",
|
||||||
"Remote":
|
"remote": {
|
||||||
{
|
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"path": "https://github.com/norayr/dbg",
|
"path": "https://github.com/norayr/dbg",
|
||||||
"tag" : "0.1.0"
|
"tag": "0.1.0"
|
||||||
},
|
},
|
||||||
"Dependencies":
|
"dependencies": {
|
||||||
{
|
|
||||||
"strutils": "0.1.0"
|
"strutils": "0.1.0"
|
||||||
},
|
},
|
||||||
"Build":
|
"build": [
|
||||||
[
|
{
|
||||||
{"command": "voc -s", "file": "src/dbg.Mod"}
|
"command": "voc -s",
|
||||||
|
"file": "src/dbg.Mod"
|
||||||
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,22 +1,25 @@
|
||||||
{
|
{
|
||||||
"Package": "diaspora",
|
"package": "diaspora",
|
||||||
"Author": "noch",
|
"author": "noch",
|
||||||
"License": "GPL-3",
|
"license": "GPL-3",
|
||||||
"Version": "0.1.0",
|
"version": "0.1.0",
|
||||||
"Remote":
|
"remote": {
|
||||||
{
|
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"path": "https://github.com/norayr/diaspora",
|
"path": "https://github.com/norayr/diaspora",
|
||||||
"tag" : "0.1.0"
|
"tag": "0.1.0"
|
||||||
},
|
},
|
||||||
"Dependencies":
|
"dependencies": {
|
||||||
{
|
|
||||||
"lists": "0.1.0",
|
"lists": "0.1.0",
|
||||||
"postgres": "0.1.0"
|
"postgres": "0.1.0"
|
||||||
},
|
},
|
||||||
"Build":
|
"build": [
|
||||||
[
|
{
|
||||||
{"command": "voc -s", "file": "src/diasporadb.Mod"},
|
"command": "voc -s",
|
||||||
{"command": "voc -s", "file": "src/diasporaPost.Mod"}
|
"file": "src/diasporadb.Mod"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"command": "voc -s",
|
||||||
|
"file": "src/diasporaPost.Mod"
|
||||||
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,16 +1,17 @@
|
||||||
{
|
{
|
||||||
"Package": "etiquette",
|
"package": "etiquette",
|
||||||
"Author": "noch",
|
"author": "noch",
|
||||||
"License": "GPL-3",
|
"license": "GPL-3",
|
||||||
"Version": "0.1.0",
|
"version": "0.1.0",
|
||||||
"Remote":
|
"remote": {
|
||||||
{
|
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"path": "https://github.com/norayr/etiquette",
|
"path": "https://github.com/norayr/etiquette",
|
||||||
"tag" : "0.1.0"
|
"tag": "0.1.0"
|
||||||
},
|
},
|
||||||
"Build":
|
"build": [
|
||||||
[
|
{
|
||||||
{"command": "voc -m", "file": "src/etiquette.Mod"}
|
"command": "voc -m",
|
||||||
|
"file": "src/etiquette.Mod"
|
||||||
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
||||||
21
fifo.json
21
fifo.json
|
|
@ -1,16 +1,17 @@
|
||||||
{
|
{
|
||||||
"Package": "fifo",
|
"package": "fifo",
|
||||||
"Author": "noch",
|
"author": "noch",
|
||||||
"License": "GPL-3",
|
"license": "GPL-3",
|
||||||
"Version": "0.1.0",
|
"version": "0.1.0",
|
||||||
"Remote":
|
"remote": {
|
||||||
{
|
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"path": "https://github.com/norayr/fifo",
|
"path": "https://github.com/norayr/fifo",
|
||||||
"tag" : "0.1.0"
|
"tag": "0.1.0"
|
||||||
},
|
},
|
||||||
"Build":
|
"build": [
|
||||||
[
|
{
|
||||||
{"command": "voc -s", "file": "src/fifo.Mod"}
|
"command": "voc -s",
|
||||||
|
"file": "src/fifo.Mod"
|
||||||
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
||||||
31
http.json
31
http.json
|
|
@ -1,23 +1,26 @@
|
||||||
{
|
{
|
||||||
"Package": "http",
|
"package": "http",
|
||||||
"Author": "noch",
|
"author": "noch",
|
||||||
"License": "GPL-3",
|
"license": "GPL-3",
|
||||||
"Version": "0.1.0",
|
"version": "0.1.0",
|
||||||
"Remote":
|
"remote": {
|
||||||
{
|
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"path": "https://github.com/norayr/http",
|
"path": "https://github.com/norayr/http",
|
||||||
"tag" : "0.1.0"
|
"tag": "0.1.0"
|
||||||
},
|
},
|
||||||
"Dependencies":
|
"dependencies": {
|
||||||
{
|
|
||||||
"strutils": "0.1.0",
|
"strutils": "0.1.0",
|
||||||
"base64": "0.1.0",
|
"base64": "0.1.0",
|
||||||
"Internet": "0.1.0"
|
"internet": "0.1.0"
|
||||||
},
|
},
|
||||||
"Build":
|
"build": [
|
||||||
[
|
{
|
||||||
{"command": "voc -s", "file": "src/hexIntStr.Mod"},
|
"command": "voc -s",
|
||||||
{"command": "voc -s", "file": "src/http.Mod"}
|
"file": "src/hexIntStr.Mod"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"command": "voc -s",
|
||||||
|
"file": "src/http.Mod"
|
||||||
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@ LICENSE = GPL-3
|
||||||
|
|
||||||
REMOTE = git https://github.com/norayr/http 0.1.0
|
REMOTE = git https://github.com/norayr/http 0.1.0
|
||||||
|
|
||||||
DEPS = strutils:0.1.0 base64:0.1.0 Internet:0.1.0
|
DEPS = strutils:0.1.0 base64:0.1.0 internet:0.1.0
|
||||||
|
|
||||||
RUN =
|
RUN =
|
||||||
MAIN =
|
MAIN =
|
||||||
|
|
|
||||||
26
irc.json
26
irc.json
|
|
@ -1,23 +1,23 @@
|
||||||
{
|
{
|
||||||
"Package": "irc",
|
"package": "irc",
|
||||||
"Author": "noch",
|
"author": "noch",
|
||||||
"License": "GPL-3",
|
"license": "GPL-3",
|
||||||
"Version": "0.1.0",
|
"version": "0.1.0",
|
||||||
"Remote":
|
"remote": {
|
||||||
{
|
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"path": "https://github.com/norayr/irc",
|
"path": "https://github.com/norayr/irc",
|
||||||
"tag" : "0.1.0"
|
"tag": "0.1.0"
|
||||||
},
|
},
|
||||||
"Dependencies":
|
"dependencies": {
|
||||||
{
|
|
||||||
"time": "0.1.0",
|
"time": "0.1.0",
|
||||||
"Internet": "0.1.0",
|
"internet": "0.1.0",
|
||||||
"lists": "0.1.0",
|
"lists": "0.1.0",
|
||||||
"dbg": "0.1.0"
|
"dbg": "0.1.0"
|
||||||
},
|
},
|
||||||
"Build":
|
"build": [
|
||||||
[
|
{
|
||||||
{"command": "voc -s", "file": "src/IRC.Mod"}
|
"command": "voc -s",
|
||||||
|
"file": "src/IRC.Mod"
|
||||||
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@ LICENSE = GPL-3
|
||||||
|
|
||||||
REMOTE = git https://github.com/norayr/irc 0.1.0
|
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
|
DEPS = time:0.1.0 internet:0.1.0 lists:0.1.0 dbg:0.1.0
|
||||||
|
|
||||||
RUN =
|
RUN =
|
||||||
MAIN =
|
MAIN =
|
||||||
|
|
|
||||||
28
irc_bot.json
28
irc_bot.json
|
|
@ -1,24 +1,24 @@
|
||||||
{
|
{
|
||||||
"Package": "irc_bot",
|
"package": "irc_bot",
|
||||||
"Author": "noch",
|
"author": "noch",
|
||||||
"License": "GPL-3",
|
"license": "GPL-3",
|
||||||
"Version": "0.1.0",
|
"version": "0.1.0",
|
||||||
"Remote":
|
"remote": {
|
||||||
{
|
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"path": "https://github.com/norayr/irc_bot",
|
"path": "https://github.com/norayr/irc_bot",
|
||||||
"tag" : "0.1.0"
|
"tag": "0.1.0"
|
||||||
},
|
},
|
||||||
"Dependencies":
|
"dependencies": {
|
||||||
{
|
|
||||||
"opts": "0.1.0",
|
"opts": "0.1.0",
|
||||||
"lists":"0.1.0",
|
"lists": "0.1.0",
|
||||||
"Internet": "0.1.0",
|
"internet": "0.1.0",
|
||||||
"time": "0.1.0",
|
"time": "0.1.0",
|
||||||
"irc": "0.1.0"
|
"irc": "0.1.0"
|
||||||
},
|
},
|
||||||
"Build":
|
"build": [
|
||||||
[
|
{
|
||||||
{"command": "voc -m", "file": "src/vocbot.Mod"}
|
"command": "voc -m",
|
||||||
|
"file": "src/vocbot.Mod"
|
||||||
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@ LICENSE = GPL-3
|
||||||
|
|
||||||
REMOTE = git https://github.com/norayr/irc_bot 0.1.0
|
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
|
DEPS = opts:0.1.0 lists:0.1.0 internet:0.1.0 time:0.1.0 irc:0.1.0
|
||||||
|
|
||||||
RUN =
|
RUN =
|
||||||
MAIN =
|
MAIN =
|
||||||
|
|
|
||||||
31
libucl.json
31
libucl.json
|
|
@ -1,18 +1,25 @@
|
||||||
{
|
{
|
||||||
"Package": "libucl",
|
"package": "libucl",
|
||||||
"Author": "antranigv",
|
"author": "antranigv",
|
||||||
"License": "BSD",
|
"license": "BSD",
|
||||||
"Version": "0.1.0",
|
"version": "0.1.0",
|
||||||
"Remote":
|
"remote": {
|
||||||
{
|
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"path": "https://github.com/antranigv/voclibucl",
|
"path": "https://github.com/antranigv/voclibucl",
|
||||||
"tag" : "0.1.0"
|
"tag": "0.1.0"
|
||||||
},
|
},
|
||||||
"Build":
|
"build": [
|
||||||
[
|
{
|
||||||
{"command": "voc -s", "file": "src/ucl.Mod"},
|
"command": "voc -s",
|
||||||
{"command": "CFLAGS=-lucl voc -m", "file": "test/libucl_test.Mod"},
|
"file": "src/ucl.Mod"
|
||||||
{"command": "cp", "file": "test/example.ucl ."}
|
},
|
||||||
|
{
|
||||||
|
"command": "CFLAGS=-lucl voc -m",
|
||||||
|
"file": "test/libucl_test.Mod"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"command": "cp",
|
||||||
|
"file": "test/example.ucl ."
|
||||||
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
||||||
26
libxo.json
26
libxo.json
|
|
@ -1,17 +1,21 @@
|
||||||
{
|
{
|
||||||
"Package": "libxo",
|
"package": "libxo",
|
||||||
"Author": "antranigv",
|
"author": "antranigv",
|
||||||
"License": "BSD",
|
"license": "BSD",
|
||||||
"Version": "0.1.0",
|
"version": "0.1.0",
|
||||||
"Remote":
|
"remote": {
|
||||||
{
|
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"path": "https://github.com/antranigv/voclibxo",
|
"path": "https://github.com/antranigv/voclibxo",
|
||||||
"tag" : "0.1.0"
|
"tag": "0.1.0"
|
||||||
},
|
},
|
||||||
"Build":
|
"build": [
|
||||||
[
|
{
|
||||||
{"command": "voc -s", "file": "src/xo.Mod"},
|
"command": "voc -s",
|
||||||
{"command": "CFLAGS=-lxo voc -m", "file": "test/libxo_test.Mod"}
|
"file": "src/xo.Mod"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"command": "CFLAGS=-lxo voc -m",
|
||||||
|
"file": "test/libxo_test.Mod"
|
||||||
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
||||||
34
lists.json
34
lists.json
|
|
@ -1,22 +1,28 @@
|
||||||
{
|
{
|
||||||
"Package": "lists",
|
"package": "lists",
|
||||||
"Author": "noch",
|
"author": "noch",
|
||||||
"License": "GPL-3",
|
"license": "GPL-3",
|
||||||
"Version": "0.1.0",
|
"version": "0.1.0",
|
||||||
"Remote":
|
"remote": {
|
||||||
{
|
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"path": "https://github.com/norayr/lists",
|
"path": "https://github.com/norayr/lists",
|
||||||
"tag" : "0.1.0"
|
"tag": "0.1.0"
|
||||||
},
|
},
|
||||||
"Dependencies":
|
"dependencies": {
|
||||||
{
|
|
||||||
"strutils": "0.1.0"
|
"strutils": "0.1.0"
|
||||||
},
|
},
|
||||||
"Build":
|
"build": [
|
||||||
[
|
{
|
||||||
{"command": "voc -s", "file": "src/List.Mod"},
|
"command": "voc -s",
|
||||||
{"command": "voc -s", "file": "src/StringList.Mod"},
|
"file": "src/List.Mod"
|
||||||
{"command": "voc -m", "file": "test/testList.Mod"}
|
},
|
||||||
|
{
|
||||||
|
"command": "voc -s",
|
||||||
|
"file": "src/StringList.Mod"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"command": "voc -m",
|
||||||
|
"file": "test/testList.Mod"
|
||||||
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
||||||
66
manush.json
66
manush.json
|
|
@ -1,32 +1,56 @@
|
||||||
{
|
{
|
||||||
"Package": "manush",
|
"package": "manush",
|
||||||
"Author": "noch",
|
"author": "noch",
|
||||||
"License": "BSD 2-Clause License",
|
"license": "BSD 2-Clause License",
|
||||||
"Version": "0.1.1",
|
"version": "0.1.1",
|
||||||
"Remote":
|
"remote": {
|
||||||
{
|
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"path": "https://github.com/illuria/manush",
|
"path": "https://github.com/illuria/manush",
|
||||||
"branch": "master",
|
"branch": "master",
|
||||||
"tag" : "0.1"
|
"tag": "0.1"
|
||||||
},
|
},
|
||||||
"Dependencies":
|
"dependencies": {
|
||||||
{
|
|
||||||
"lists": "0.1",
|
"lists": "0.1",
|
||||||
"opts": "0.1",
|
"opts": "0.1",
|
||||||
"pipes": "0.1",
|
"pipes": "0.1",
|
||||||
"skprJson": "0.1"
|
"skprjson": "0.1"
|
||||||
},
|
},
|
||||||
"Build":
|
"build": [
|
||||||
[
|
{
|
||||||
{"command": "voc -s", "file": "src/mnshList.Mod"},
|
"command": "voc -s",
|
||||||
{"command": "voc -s", "file": "src/mnshUnix.Mod"},
|
"file": "src/mnshList.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",
|
||||||
{"command": "voc -s", "file": "src/mnshExtTools.Mod"},
|
"file": "src/mnshUnix.Mod"
|
||||||
{"command": "voc -s", "file": "src/mnshTerm.Mod"},
|
},
|
||||||
{"command": "voc -s", "file": "src/mnshInput.Mod"},
|
{
|
||||||
{"command": "voc -M", "file": "src/manush.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"
|
||||||
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@ LICENSE = BSD 2-Clause License
|
||||||
|
|
||||||
REMOTE = git https://github.com/illuria/manush 0.1
|
REMOTE = git https://github.com/illuria/manush 0.1
|
||||||
|
|
||||||
DEPS = lists:0.1 opts:0.1 pipes:0.1 skprJson:0.1
|
DEPS = lists:0.1 opts:0.1 pipes:0.1 skprjson:0.1
|
||||||
|
|
||||||
RUN =
|
RUN =
|
||||||
MAIN =
|
MAIN =
|
||||||
|
|
|
||||||
|
|
@ -1,21 +1,37 @@
|
||||||
{
|
{
|
||||||
"Package": "oberonDS",
|
"package": "oberonDS",
|
||||||
"Author": "InnaKhachikyan",
|
"author": "InnaKhachikyan",
|
||||||
"License": "unknown",
|
"license": "unknown",
|
||||||
"Version": "0.1.0",
|
"version": "0.1.0",
|
||||||
"Remote":
|
"remote": {
|
||||||
{
|
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"path": "https://github.com/InnaKhachikyan/oberonDS",
|
"path": "https://github.com/InnaKhachikyan/oberonDS",
|
||||||
"tag" : "0.1.0"
|
"tag": "0.1.0"
|
||||||
},
|
},
|
||||||
"Build":
|
"build": [
|
||||||
[
|
{
|
||||||
{"command": "voc -s", "file": "src/DynamicArray.Mod"},
|
"command": "voc -s",
|
||||||
{"command": "voc -s", "file": "src/HashMap.Mod"},
|
"file": "src/DynamicArray.Mod"
|
||||||
{"command": "voc -s", "file": "src/Map.Mod"},
|
},
|
||||||
{"command": "voc -m", "file": "test/DynamicArrayTest.Mod"},
|
{
|
||||||
{"command": "voc -m", "file": "test/HashMapTest.Mod"},
|
"command": "voc -s",
|
||||||
{"command": "voc -m", "file": "test/MapTest.Mod"}
|
"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"
|
||||||
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
||||||
34
opts.json
34
opts.json
|
|
@ -1,22 +1,28 @@
|
||||||
{
|
{
|
||||||
"Package": "opts",
|
"package": "opts",
|
||||||
"Author": "noch",
|
"author": "noch",
|
||||||
"License": "GPL-3",
|
"license": "GPL-3",
|
||||||
"Version": "0.1.0",
|
"version": "0.1.0",
|
||||||
"Remote":
|
"remote": {
|
||||||
{
|
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"path": "https://github.com/norayr/opts",
|
"path": "https://github.com/norayr/opts",
|
||||||
"tag" : "0.1.0"
|
"tag": "0.1.0"
|
||||||
},
|
},
|
||||||
"Dependencies":
|
"dependencies": {
|
||||||
{
|
|
||||||
"lists": "0.1.0"
|
"lists": "0.1.0"
|
||||||
},
|
},
|
||||||
"Build":
|
"build": [
|
||||||
[
|
{
|
||||||
{"command": "voc -s", "file": "src/optsos.Mod"},
|
"command": "voc -s",
|
||||||
{"command": "voc -s", "file": "src/opts.Mod"},
|
"file": "src/optsos.Mod"
|
||||||
{"command": "voc -m", "file": "src/testopts.Mod"}
|
},
|
||||||
|
{
|
||||||
|
"command": "voc -s",
|
||||||
|
"file": "src/opts.Mod"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"command": "voc -m",
|
||||||
|
"file": "src/testopts.Mod"
|
||||||
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
||||||
26
pipes.json
26
pipes.json
|
|
@ -1,17 +1,21 @@
|
||||||
{
|
{
|
||||||
"Package": "pipes",
|
"package": "pipes",
|
||||||
"Author": "noch",
|
"author": "noch",
|
||||||
"License": "GPL-3",
|
"license": "GPL-3",
|
||||||
"Version": "0.1.0",
|
"version": "0.1.0",
|
||||||
"Remote":
|
"remote": {
|
||||||
{
|
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"path": "https://github.com/norayr/pipes",
|
"path": "https://github.com/norayr/pipes",
|
||||||
"tag" : "0.1.0"
|
"tag": "0.1.0"
|
||||||
},
|
},
|
||||||
"Build":
|
"build": [
|
||||||
[
|
{
|
||||||
{"command": "voc -s", "file": "src/pipes.Mod"},
|
"command": "voc -s",
|
||||||
{"command": "voc -m", "file": "src/testPipes.Mod"}
|
"file": "src/pipes.Mod"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"command": "voc -m",
|
||||||
|
"file": "src/testPipes.Mod"
|
||||||
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,21 +1,24 @@
|
||||||
{
|
{
|
||||||
"Package": "postgres",
|
"package": "postgres",
|
||||||
"Author": "noch",
|
"author": "noch",
|
||||||
"License": "GPL-3",
|
"license": "GPL-3",
|
||||||
"Version": "0.1.0",
|
"version": "0.1.0",
|
||||||
"Remote":
|
"remote": {
|
||||||
{
|
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"path": "https://github.com/norayr/postgres",
|
"path": "https://github.com/norayr/postgres",
|
||||||
"tag" : "0.1.0"
|
"tag": "0.1.0"
|
||||||
},
|
},
|
||||||
"Dependencies":
|
"dependencies": {
|
||||||
{
|
|
||||||
"pipes": "0.1.0"
|
"pipes": "0.1.0"
|
||||||
},
|
},
|
||||||
"Build":
|
"build": [
|
||||||
[
|
{
|
||||||
{"command": "voc -s", "file": "postgres.Mod"},
|
"command": "voc -s",
|
||||||
{"command": "voc -m", "file": "PostgresTests.Mod"}
|
"file": "postgres.Mod"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"command": "voc -m",
|
||||||
|
"file": "PostgresTests.Mod"
|
||||||
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,22 +1,25 @@
|
||||||
{
|
{
|
||||||
"Package": "skprJson",
|
"package": "skprJson",
|
||||||
"Author": "shekspir55",
|
"author": "shekspir55",
|
||||||
"License": "GPL-3",
|
"license": "GPL-3",
|
||||||
"Version": "0.1.0",
|
"version": "0.1.0",
|
||||||
"Remote":
|
"remote": {
|
||||||
{
|
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"path": "https://github.com/norayr/skprJson",
|
"path": "https://github.com/norayr/skprJson",
|
||||||
"tag" : "0.1.0"
|
"tag": "0.1.0"
|
||||||
},
|
},
|
||||||
"Dependencies":
|
"dependencies": {
|
||||||
{
|
|
||||||
"lists": "0.1.0",
|
"lists": "0.1.0",
|
||||||
"skprLogger": "0.1.0"
|
"skprlogger": "0.1.0"
|
||||||
},
|
},
|
||||||
"Build":
|
"build": [
|
||||||
[
|
{
|
||||||
{"command": "voc -s", "file": "src/skprCharStack.Mod"},
|
"command": "voc -s",
|
||||||
{"command": "voc -s", "file": "src/skprJson.Mod"}
|
"file": "src/skprCharStack.Mod"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"command": "voc -s",
|
||||||
|
"file": "src/skprJson.Mod"
|
||||||
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@ LICENSE = GPL-3
|
||||||
|
|
||||||
REMOTE = git https://github.com/norayr/skprJson 0.1.0
|
REMOTE = git https://github.com/norayr/skprJson 0.1.0
|
||||||
|
|
||||||
DEPS = lists:0.1.0 skprLogger:0.1.0
|
DEPS = lists:0.1.0 skprlogger:0.1.0
|
||||||
|
|
||||||
RUN =
|
RUN =
|
||||||
MAIN =
|
MAIN =
|
||||||
|
|
|
||||||
|
|
@ -1,20 +1,20 @@
|
||||||
{
|
{
|
||||||
"Package": "skprLogger",
|
"package": "skprLogger",
|
||||||
"Author": "shekspir55",
|
"author": "shekspir55",
|
||||||
"License": "GPL-3",
|
"license": "GPL-3",
|
||||||
"Version": "0.1.0",
|
"version": "0.1.0",
|
||||||
"Remote":
|
"remote": {
|
||||||
{
|
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"path": "https://github.com/norayr/skprLogger",
|
"path": "https://github.com/norayr/skprLogger",
|
||||||
"tag" : "0.1.0"
|
"tag": "0.1.0"
|
||||||
},
|
},
|
||||||
"Dependencies":
|
"dependencies": {
|
||||||
{
|
|
||||||
"time": "0.1.0"
|
"time": "0.1.0"
|
||||||
},
|
},
|
||||||
"Build":
|
"build": [
|
||||||
[
|
{
|
||||||
{"command": "voc -s", "file": "src/skprLogger.Mod"}
|
"command": "voc -s",
|
||||||
|
"file": "src/skprLogger.Mod"
|
||||||
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,18 +1,25 @@
|
||||||
{
|
{
|
||||||
"Package": "strutils",
|
"package": "strutils",
|
||||||
"Author": "noch",
|
"author": "noch",
|
||||||
"License": "GPL-3",
|
"license": "GPL-3",
|
||||||
"Version": "0.1.0",
|
"version": "0.1.0",
|
||||||
"Remote":
|
"remote": {
|
||||||
{
|
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"path": "https://github.com/norayr/strutils",
|
"path": "https://github.com/norayr/strutils",
|
||||||
"tag" : "0.1.0"
|
"tag": "0.1.0"
|
||||||
},
|
},
|
||||||
"Build":
|
"build": [
|
||||||
[
|
{
|
||||||
{"command": "voc -s", "file": "src/strTypes.Mod"},
|
"command": "voc -s",
|
||||||
{"command": "voc -s", "file": "src/strUtils.Mod"},
|
"file": "src/strTypes.Mod"
|
||||||
{"command": "voc -m", "file": "test/testStrUtils.Mod"}
|
},
|
||||||
|
{
|
||||||
|
"command": "voc -s",
|
||||||
|
"file": "src/strUtils.Mod"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"command": "voc -m",
|
||||||
|
"file": "test/testStrUtils.Mod"
|
||||||
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,28 +1,39 @@
|
||||||
{
|
{
|
||||||
"Package": "strutils2",
|
"package": "strutils2",
|
||||||
"Author": "noch",
|
"author": "noch",
|
||||||
"License": "GPL-3",
|
"license": "GPL-3",
|
||||||
"Version": "0.1.0",
|
"version": "0.1.0",
|
||||||
"Remote": {
|
"remote": {
|
||||||
"Type": "https",
|
"type": "https",
|
||||||
"Files": [
|
"files": [
|
||||||
{
|
{
|
||||||
"URL": "https://norayr.am/vpk/strutils/src/strTypes.Mod",
|
"url": "https://norayr.am/vpk/strutils/src/strTypes.Mod",
|
||||||
"AuthType": "BasicAuth",
|
"authtype": "BasicAuth",
|
||||||
"AuthCredentials": {"User": "tactun", "Password": "tactun"},
|
"authcredentials": {
|
||||||
"MD5": "3d3a2782bb5d244824fe2fe7bd214f74"
|
"user": "tactun",
|
||||||
|
"password": "tactun"
|
||||||
|
},
|
||||||
|
"md5": "3d3a2782bb5d244824fe2fe7bd214f74"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"URL": "https://norayr.am/vpk/strutils/src/strUtils.Mod",
|
"url": "https://norayr.am/vpk/strutils/src/strUtils.Mod",
|
||||||
"AuthType": "BasicAuth",
|
"authtype": "BasicAuth",
|
||||||
"AuthCredentials": {"User": "tactun", "Password": "tactun"},
|
"authcredentials": {
|
||||||
"MD5": "43146f0d62473f2ac05b327792ec1258"
|
"user": "tactun",
|
||||||
|
"password": "tactun"
|
||||||
|
},
|
||||||
|
"md5": "43146f0d62473f2ac05b327792ec1258"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"Build":
|
"build": [
|
||||||
[
|
{
|
||||||
{"Command": "voc -s", "File": "strTypes.Mod"},
|
"command": "voc -s",
|
||||||
{"Command": "voc -s", "File": "strUtils.Mod"}
|
"file": "strTypes.Mod"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"command": "voc -s",
|
||||||
|
"file": "strUtils.Mod"
|
||||||
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -4,13 +4,13 @@ VERSION = 0.1.0
|
||||||
AUTHOR = noch
|
AUTHOR = noch
|
||||||
LICENSE = GPL-3
|
LICENSE = GPL-3
|
||||||
|
|
||||||
REMOTE =
|
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 =
|
DEPS =
|
||||||
|
|
||||||
RUN =
|
RUN =
|
||||||
MAIN =
|
MAIN =
|
||||||
BUILD = ;
|
BUILD = voc -s strTypes.Mod;voc -s strUtils.Mod
|
||||||
|
|
||||||
TEST_RUN =
|
TEST_RUN =
|
||||||
TEST_MAIN =
|
TEST_MAIN =
|
||||||
|
|
|
||||||
|
|
@ -1,24 +1,27 @@
|
||||||
{
|
{
|
||||||
"Package": "test_server",
|
"package": "test_server",
|
||||||
"Author": "noch",
|
"author": "noch",
|
||||||
"License": "GPL-3",
|
"license": "GPL-3",
|
||||||
"Version": "0.1.0",
|
"version": "0.1.0",
|
||||||
"Remote":
|
"remote": {
|
||||||
{
|
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"path": "https://github.com/norayr/test_server",
|
"path": "https://github.com/norayr/test_server",
|
||||||
"tag" : "0.1.0"
|
"tag": "0.1.0"
|
||||||
},
|
},
|
||||||
"Dependencies":
|
"dependencies": {
|
||||||
{
|
|
||||||
"lists": "0.1.0",
|
"lists": "0.1.0",
|
||||||
"Internet":"0.1.0",
|
"internet": "0.1.0",
|
||||||
"time": "0.1.0",
|
"time": "0.1.0",
|
||||||
"fifo": "0.1.0"
|
"fifo": "0.1.0"
|
||||||
},
|
},
|
||||||
"Build":
|
"build": [
|
||||||
[
|
{
|
||||||
{"command": "voc -m", "file": "src/testServer.Mod"},
|
"command": "voc -m",
|
||||||
{"command": "voc -m", "file": "src/testClient.Mod"}
|
"file": "src/testServer.Mod"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"command": "voc -m",
|
||||||
|
"file": "src/testClient.Mod"
|
||||||
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@ LICENSE = GPL-3
|
||||||
|
|
||||||
REMOTE = git https://github.com/norayr/test_server 0.1.0
|
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
|
DEPS = lists:0.1.0 internet:0.1.0 time:0.1.0 fifo:0.1.0
|
||||||
|
|
||||||
RUN =
|
RUN =
|
||||||
MAIN =
|
MAIN =
|
||||||
|
|
|
||||||
21
time.json
21
time.json
|
|
@ -1,16 +1,17 @@
|
||||||
{
|
{
|
||||||
"Package": "time",
|
"package": "time",
|
||||||
"Author": "noch",
|
"author": "noch",
|
||||||
"License": "GPL-3",
|
"license": "GPL-3",
|
||||||
"Version": "0.1.0",
|
"version": "0.1.0",
|
||||||
"Remote":
|
"remote": {
|
||||||
{
|
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"path": "https://github.com/norayr/time",
|
"path": "https://github.com/norayr/time",
|
||||||
"tag" : "0.1.0"
|
"tag": "0.1.0"
|
||||||
},
|
},
|
||||||
"Build":
|
"build": [
|
||||||
[
|
{
|
||||||
{"command": "voc -s", "file": "src/time.Mod"}
|
"command": "voc -s",
|
||||||
|
"file": "src/time.Mod"
|
||||||
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,17 +1,21 @@
|
||||||
{
|
{
|
||||||
"Package": "unixFileSystem",
|
"package": "unixFileSystem",
|
||||||
"Author": "noch",
|
"author": "noch",
|
||||||
"License": "GPL-3",
|
"license": "GPL-3",
|
||||||
"Version": "0.1.0",
|
"version": "0.1.0",
|
||||||
"Remote":
|
"remote": {
|
||||||
{
|
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"path": "https://github.com/norayr/unixFileSystem",
|
"path": "https://github.com/norayr/unixFileSystem",
|
||||||
"tag" : "0.1.0"
|
"tag": "0.1.0"
|
||||||
},
|
},
|
||||||
"Build":
|
"build": [
|
||||||
[
|
{
|
||||||
{"command": "voc -s", "file": "src/UnixFS.Mod"},
|
"command": "voc -s",
|
||||||
{"command": "voc -m", "file": "test/TestUnixFS.Mod"}
|
"file": "src/UnixFS.Mod"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"command": "voc -m",
|
||||||
|
"file": "test/TestUnixFS.Mod"
|
||||||
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
||||||
21
unixfs.json
21
unixfs.json
|
|
@ -1,16 +1,17 @@
|
||||||
{
|
{
|
||||||
"Package": "unixfs",
|
"package": "unixfs",
|
||||||
"Author": "noch",
|
"author": "noch",
|
||||||
"License": "GPL-3",
|
"license": "GPL-3",
|
||||||
"Version": "0.1.0",
|
"version": "0.1.0",
|
||||||
"Remote":
|
"remote": {
|
||||||
{
|
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"path": "https://github.com/norayr/unixfs",
|
"path": "https://github.com/norayr/unixfs",
|
||||||
"tag" : "0.1.0"
|
"tag": "0.1.0"
|
||||||
},
|
},
|
||||||
"Build":
|
"build": [
|
||||||
[
|
{
|
||||||
{"command": "voc -s", "file": "src/unixFiles.Mod"}
|
"command": "voc -s",
|
||||||
|
"file": "src/unixFiles.Mod"
|
||||||
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
||||||
36
vpicl.json
36
vpicl.json
|
|
@ -1,19 +1,29 @@
|
||||||
{
|
{
|
||||||
"Package": "vpicl",
|
"package": "vpicl",
|
||||||
"Author": "noch",
|
"author": "noch",
|
||||||
"License": "GPL-3",
|
"license": "GPL-3",
|
||||||
"Version": "0.1.0",
|
"version": "0.1.0",
|
||||||
"Remote":
|
"remote": {
|
||||||
{
|
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"path": "https://github.com/norayr/vpicl",
|
"path": "https://github.com/norayr/vpicl",
|
||||||
"tag" : "0.1.0"
|
"tag": "0.1.0"
|
||||||
},
|
},
|
||||||
"Build":
|
"build": [
|
||||||
[
|
{
|
||||||
{"command": "voc -s", "file": "POutput.Mod"},
|
"command": "voc -s",
|
||||||
{"command": "voc -s", "file": "PErrors.Mod"},
|
"file": "POutput.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"
|
||||||
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
||||||
21
xattr.json
21
xattr.json
|
|
@ -1,16 +1,17 @@
|
||||||
{
|
{
|
||||||
"Package": "xattr",
|
"package": "xattr",
|
||||||
"Author": "noch",
|
"author": "noch",
|
||||||
"License": "GPL-3",
|
"license": "GPL-3",
|
||||||
"Version": "0.1.0",
|
"version": "0.1.0",
|
||||||
"Remote":
|
"remote": {
|
||||||
{
|
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"path": "https://github.com/norayr/xattr",
|
"path": "https://github.com/norayr/xattr",
|
||||||
"tag" : "0.1.0"
|
"tag": "0.1.0"
|
||||||
},
|
},
|
||||||
"Build":
|
"build": [
|
||||||
[
|
{
|
||||||
{"command": "voc -s", "file": "src/xattr.Mod"}
|
"command": "voc -s",
|
||||||
|
"file": "src/xattr.Mod"
|
||||||
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue