From 5bf0a1065ce8ad5b11cb78b87e653db7ab57ae94 Mon Sep 17 00:00:00 2001 From: Antranig Vartanian Date: Sun, 5 Oct 2025 14:14:02 +0400 Subject: [PATCH] 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 --- Bron-Dijkstra-Strings.json | 25 +-- Internet.json | 62 +++++--- .../convert_vipakfile.sh | 109 ++++++++----- .../convert_vipatsar.sh | 4 +- _Scripts/to_lower.sh | 79 ++++++++++ _Scripts/validate_json.sh | 145 ++++++++++++++++++ armscii.json | 25 +-- armscii2.json | 36 ++--- armscii2/armscii2-0.1.0.vipakfile | 4 +- base64.json | 23 +-- cairo.json | 30 ++-- cairo/cairo-0.1.0.vipakfile | 4 +- dbg.json | 26 ++-- diaspora.json | 31 ++-- etiquette.json | 23 +-- fifo.json | 23 +-- http.json | 33 ++-- http/http-0.1.0.vipakfile | 2 +- irc.json | 28 ++-- irc/irc-0.1.0.vipakfile | 2 +- irc_bot.json | 30 ++-- irc_bot/irc_bot-0.1.0.vipakfile | 2 +- libucl.json | 33 ++-- libxo.json | 28 ++-- lists.json | 38 +++-- manush.json | 66 +++++--- manush/manush-0.1.1.vipakfile | 2 +- oberonDS.json | 48 ++++-- opts.json | 36 +++-- pipes.json | 28 ++-- postgres.json | 35 +++-- skprJson.json | 35 +++-- skprJson/skprJson-0.1.0.vipakfile | 2 +- skprLogger.json | 26 ++-- strutils.json | 33 ++-- strutils2.json | 61 +++++--- strutils2/strutils2-0.1.0.vipakfile | 4 +- test_server.json | 33 ++-- test_server/test_server-0.1.0.vipakfile | 2 +- time.json | 23 +-- unixFileSystem.json | 26 ++-- unixfs.json | 23 +-- vpicl.json | 36 +++-- xattr.json | 23 +-- 44 files changed, 896 insertions(+), 491 deletions(-) rename convert_vipakfile.sh => _Scripts/convert_vipakfile.sh (52%) rename convert_vipatsar.sh => _Scripts/convert_vipatsar.sh (94%) mode change 100644 => 100755 create mode 100755 _Scripts/to_lower.sh create mode 100755 _Scripts/validate_json.sh diff --git a/Bron-Dijkstra-Strings.json b/Bron-Dijkstra-Strings.json index 7b515b7..80873f2 100644 --- a/Bron-Dijkstra-Strings.json +++ b/Bron-Dijkstra-Strings.json @@ -1,16 +1,17 @@ { - "Package": "Bron-Dijkstra-Strings", - "Author": "noch", - "License": "GPL-3", - "Version": "0.1.0", - "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.0" - }, - "Build": - [ - {"command": "voc -s", "file": "bdStrings.Mod"} - ] + "tag": "0.1.0" + }, + "build": [ + { + "command": "voc -s", + "file": "bdStrings.Mod" + } + ] } diff --git a/Internet.json b/Internet.json index abd3d6e..286ee94 100644 --- a/Internet.json +++ b/Internet.json @@ -1,26 +1,48 @@ { - "Package": "Internet", - "Author": "noch", - "License": "GPL-3", - "Version": "0.1.0", - "Remote": - { + "package": "Internet", + "author": "noch", + "license": "GPL-3", + "version": "0.1.0", + "remote": { "type": "git", "path": "https://github.com/norayr/Internet", - "tag" : "0.1.0" - }, - "Dependencies": - { + "tag": "0.1.0" + }, + "dependencies": { "time": "0.1.0" + }, + "build": [ + { + "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" + } + ] } diff --git a/convert_vipakfile.sh b/_Scripts/convert_vipakfile.sh similarity index 52% rename from convert_vipakfile.sh rename to _Scripts/convert_vipakfile.sh index 0bb8614..d61c187 100755 --- a/convert_vipakfile.sh +++ b/_Scripts/convert_vipakfile.sh @@ -1,48 +1,43 @@ #!/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##*/} 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 + printf "${COLOUR_SET_B}[*] ${COLOUR_END}%s\n" "$@" >&2 } paction() { - printf "${COLOUR_SET_G}[*] ${COLOUR_END}%s\n" "$@" >&2 + printf "${COLOUR_SET_G}[+] ${COLOUR_END}%s\n" "$@" >&2 } -# Usage message usage() { cat < | -c] [-f] [--verbose] - Convert old JSON vipakfile to new plain-text format. + Convert JSON vipakfile to new plain-text .vipakfile format. -o Write to specified file (default: stdout) - -c Write to -.vipakfile + -c Write to -.vipakfile -f Force overwrite of existing output file --verbose Print debug information about extracted fields EOF exit 0 } -# Check dependencies 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_file="" input_file="" @@ -83,44 +78,88 @@ done [ -f "$input_file" ] || perror "Input file '$input_file' not found" [ -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" -# Extract fields using jq 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") +name=$(jq -r '.package // ""' "$input_file") +version=$(jq -r '.version // ""' "$input_file") +author=$(jq -r '.author // ""' "$input_file") +license=$(jq -r '.license // ""' "$input_file") -# Validate required fields -[ -z "$name" ] && perror "Package name is required" -[ -z "$version" ] && perror "Version is required" +[ -z "$name" ] && perror "package field is required" +[ -z "$version" ] && perror "version field is required" -# Extract Remote (type, path, tag) -remote_type=$(jq -r '.Remote.type // ""' "$input_file") -remote_path=$(jq -r '.Remote.path // ""' "$input_file") -remote_tag=$(jq -r '.Remote.tag // ""' "$input_file") +# Extract Remote (handle git and https) +remote_type=$(jq -r '.remote.type // ""' "$input_file") remote="" -if [ -n "$remote_type" ] && [ -n "$remote_path" ] && [ -n "$remote_tag" ]; then - remote="$remote_type $remote_path $remote_tag" -fi +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 -# Extract Dependencies as space-separated list -deps=$(jq -r 'if .Dependencies then .Dependencies | to_entries | map("\(.key):\(.value)") | join(" ") else "" end' "$input_file") - -# Extract Build commands as semicolon-separated list -build=$(jq -r '.Build | map(.command + " " + .file) | join(";")' "$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") [ "$build" = "null" ] && build="" -# Default empty fields run="" main="" test_run="" test_main="" test_cmd="" -# Verbose output [ -n "$verbose" ] && { pinfo "Extracted fields:" pinfo " NAME=$name" @@ -137,7 +176,6 @@ test_cmd="" pinfo " TEST=$test_cmd" } -# Generate vipakfile content vipakfile_content=$(cat </dev/null || return done + diff --git a/_Scripts/to_lower.sh b/_Scripts/to_lower.sh new file mode 100755 index 0000000..7399811 --- /dev/null +++ b/_Scripts/to_lower.sh @@ -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 </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" diff --git a/_Scripts/validate_json.sh b/_Scripts/validate_json.sh new file mode 100755 index 0000000..d11dddb --- /dev/null +++ b/_Scripts/validate_json.sh @@ -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 </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 diff --git a/armscii.json b/armscii.json index 8e1d4e6..926a309 100644 --- a/armscii.json +++ b/armscii.json @@ -1,16 +1,17 @@ { - "Package": "Internet", - "Author": "noch", - "License": "GPL-3", - "Version": "0.1.0", - "Remote": - { + "package": "Internet", + "author": "noch", + "license": "GPL-3", + "version": "0.1.0", + "remote": { "type": "git", "path": "https://github.com/norayr/armscii", - "tag" : "0.1.0" - }, - "Build": - [ - {"command": "voc -s", "file": "ArmsciiUTF.Mod"} - ] + "tag": "0.1.0" + }, + "build": [ + { + "command": "voc -s", + "file": "ArmsciiUTF.Mod" + } + ] } diff --git a/armscii2.json b/armscii2.json index 9840647..bd9f932 100644 --- a/armscii2.json +++ b/armscii2.json @@ -1,21 +1,21 @@ { - "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" - } + "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" + } + ] } diff --git a/armscii2/armscii2-0.1.0.vipakfile b/armscii2/armscii2-0.1.0.vipakfile index 36b52ca..174638b 100644 --- a/armscii2/armscii2-0.1.0.vipakfile +++ b/armscii2/armscii2-0.1.0.vipakfile @@ -4,13 +4,13 @@ VERSION = 0.1.0 AUTHOR = noch LICENSE = GPL-3 -REMOTE = +REMOTE = https https://norayr.am/vpk2/armscii/ArmsciiUTF.Mod md5,14790276c48db775a5fee99a48525dd9 DEPS = RUN = MAIN = -BUILD = +BUILD = voc -s ArmsciiUTF.Mod TEST_RUN = TEST_MAIN = diff --git a/base64.json b/base64.json index 8a4fb4a..a0d1c73 100644 --- a/base64.json +++ b/base64.json @@ -1,16 +1,17 @@ { - "Package": "base64", - "Author": "noch", - "License": "GPL-3", - "Version": "0.1.0", - "Remote": - { + "package": "base64", + "author": "noch", + "license": "GPL-3", + "version": "0.1.0", + "remote": { "type": "git", "path": "https://github.com/norayr/base64", - "tag" : "0.1.0" - }, - "Build": - [ - {"command": "voc -s", "file": "src/Base64.Mod"} + "tag": "0.1.0" + }, + "build": [ + { + "command": "voc -s", + "file": "src/Base64.Mod" + } ] } diff --git a/cairo.json b/cairo.json index 61d9f66..cd8cfe4 100644 --- a/cairo.json +++ b/cairo.json @@ -1,22 +1,22 @@ { - "Package": "cairo", - "Author": "une", - "License": "GPL-3", - "Version": "0.1.0", - - "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" + } ] } - diff --git a/cairo/cairo-0.1.0.vipakfile b/cairo/cairo-0.1.0.vipakfile index 76462f8..4eca9ca 100644 --- a/cairo/cairo-0.1.0.vipakfile +++ b/cairo/cairo-0.1.0.vipakfile @@ -4,13 +4,13 @@ VERSION = 0.1.0 AUTHOR = une LICENSE = GPL-3 -REMOTE = +REMOTE = https https://codeberg.org/une/oberon-cairo/raw/commit/bca71235f8/Cairo.mod md5,e6f3d616481b1c5da1c9eebdb2e75ae7 DEPS = RUN = MAIN = -BUILD = +BUILD = voc -s Cairo.mod TEST_RUN = TEST_MAIN = diff --git a/dbg.json b/dbg.json index dad8927..668e743 100644 --- a/dbg.json +++ b/dbg.json @@ -1,20 +1,20 @@ { - "Package": "dbg", - "Author": "noch", - "License": "GPL-3", - "Version": "0.1.0", - "Remote": - { + "package": "dbg", + "author": "noch", + "license": "GPL-3", + "version": "0.1.0", + "remote": { "type": "git", "path": "https://github.com/norayr/dbg", - "tag" : "0.1.0" - }, - "Dependencies": - { + "tag": "0.1.0" + }, + "dependencies": { "strutils": "0.1.0" }, - "Build": - [ - {"command": "voc -s", "file": "src/dbg.Mod"} + "build": [ + { + "command": "voc -s", + "file": "src/dbg.Mod" + } ] } diff --git a/diaspora.json b/diaspora.json index b66b871..2420ab9 100644 --- a/diaspora.json +++ b/diaspora.json @@ -1,22 +1,25 @@ { - "Package": "diaspora", - "Author": "noch", - "License": "GPL-3", - "Version": "0.1.0", - "Remote": - { + "package": "diaspora", + "author": "noch", + "license": "GPL-3", + "version": "0.1.0", + "remote": { "type": "git", "path": "https://github.com/norayr/diaspora", - "tag" : "0.1.0" - }, - "Dependencies": - { + "tag": "0.1.0" + }, + "dependencies": { "lists": "0.1.0", "postgres": "0.1.0" }, - "Build": - [ - {"command": "voc -s", "file": "src/diasporadb.Mod"}, - {"command": "voc -s", "file": "src/diasporaPost.Mod"} + "build": [ + { + "command": "voc -s", + "file": "src/diasporadb.Mod" + }, + { + "command": "voc -s", + "file": "src/diasporaPost.Mod" + } ] } diff --git a/etiquette.json b/etiquette.json index 4a2204c..fb808f3 100644 --- a/etiquette.json +++ b/etiquette.json @@ -1,16 +1,17 @@ { - "Package": "etiquette", - "Author": "noch", - "License": "GPL-3", - "Version": "0.1.0", - "Remote": - { + "package": "etiquette", + "author": "noch", + "license": "GPL-3", + "version": "0.1.0", + "remote": { "type": "git", "path": "https://github.com/norayr/etiquette", - "tag" : "0.1.0" - }, - "Build": - [ - {"command": "voc -m", "file": "src/etiquette.Mod"} + "tag": "0.1.0" + }, + "build": [ + { + "command": "voc -m", + "file": "src/etiquette.Mod" + } ] } diff --git a/fifo.json b/fifo.json index df3f772..be999e1 100644 --- a/fifo.json +++ b/fifo.json @@ -1,16 +1,17 @@ { - "Package": "fifo", - "Author": "noch", - "License": "GPL-3", - "Version": "0.1.0", - "Remote": - { + "package": "fifo", + "author": "noch", + "license": "GPL-3", + "version": "0.1.0", + "remote": { "type": "git", "path": "https://github.com/norayr/fifo", - "tag" : "0.1.0" - }, - "Build": - [ - {"command": "voc -s", "file": "src/fifo.Mod"} + "tag": "0.1.0" + }, + "build": [ + { + "command": "voc -s", + "file": "src/fifo.Mod" + } ] } diff --git a/http.json b/http.json index d23f09d..1387324 100644 --- a/http.json +++ b/http.json @@ -1,23 +1,26 @@ { - "Package": "http", - "Author": "noch", - "License": "GPL-3", - "Version": "0.1.0", - "Remote": - { + "package": "http", + "author": "noch", + "license": "GPL-3", + "version": "0.1.0", + "remote": { "type": "git", "path": "https://github.com/norayr/http", - "tag" : "0.1.0" - }, - "Dependencies": - { + "tag": "0.1.0" + }, + "dependencies": { "strutils": "0.1.0", "base64": "0.1.0", - "Internet": "0.1.0" + "internet": "0.1.0" }, - "Build": - [ - {"command": "voc -s", "file": "src/hexIntStr.Mod"}, - {"command": "voc -s", "file": "src/http.Mod"} + "build": [ + { + "command": "voc -s", + "file": "src/hexIntStr.Mod" + }, + { + "command": "voc -s", + "file": "src/http.Mod" + } ] } diff --git a/http/http-0.1.0.vipakfile b/http/http-0.1.0.vipakfile index f7c2d28..d556052 100644 --- a/http/http-0.1.0.vipakfile +++ b/http/http-0.1.0.vipakfile @@ -6,7 +6,7 @@ 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 +DEPS = strutils:0.1.0 base64:0.1.0 internet:0.1.0 RUN = MAIN = diff --git a/irc.json b/irc.json index 8ffdf48..f23d921 100644 --- a/irc.json +++ b/irc.json @@ -1,23 +1,23 @@ { - "Package": "irc", - "Author": "noch", - "License": "GPL-3", - "Version": "0.1.0", - "Remote": - { + "package": "irc", + "author": "noch", + "license": "GPL-3", + "version": "0.1.0", + "remote": { "type": "git", "path": "https://github.com/norayr/irc", - "tag" : "0.1.0" - }, - "Dependencies": - { + "tag": "0.1.0" + }, + "dependencies": { "time": "0.1.0", - "Internet": "0.1.0", + "internet": "0.1.0", "lists": "0.1.0", "dbg": "0.1.0" }, - "Build": - [ - {"command": "voc -s", "file": "src/IRC.Mod"} + "build": [ + { + "command": "voc -s", + "file": "src/IRC.Mod" + } ] } diff --git a/irc/irc-0.1.0.vipakfile b/irc/irc-0.1.0.vipakfile index ec318d6..06a0b20 100644 --- a/irc/irc-0.1.0.vipakfile +++ b/irc/irc-0.1.0.vipakfile @@ -6,7 +6,7 @@ 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 +DEPS = time:0.1.0 internet:0.1.0 lists:0.1.0 dbg:0.1.0 RUN = MAIN = diff --git a/irc_bot.json b/irc_bot.json index 27d15e9..802fe0e 100644 --- a/irc_bot.json +++ b/irc_bot.json @@ -1,24 +1,24 @@ { - "Package": "irc_bot", - "Author": "noch", - "License": "GPL-3", - "Version": "0.1.0", - "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.0" - }, - "Dependencies": - { + "tag": "0.1.0" + }, + "dependencies": { "opts": "0.1.0", - "lists":"0.1.0", - "Internet": "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"} + "build": [ + { + "command": "voc -m", + "file": "src/vocbot.Mod" + } ] } diff --git a/irc_bot/irc_bot-0.1.0.vipakfile b/irc_bot/irc_bot-0.1.0.vipakfile index dde12c4..dc56aff 100644 --- a/irc_bot/irc_bot-0.1.0.vipakfile +++ b/irc_bot/irc_bot-0.1.0.vipakfile @@ -6,7 +6,7 @@ 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 +DEPS = opts:0.1.0 lists:0.1.0 internet:0.1.0 time:0.1.0 irc:0.1.0 RUN = MAIN = diff --git a/libucl.json b/libucl.json index 094206c..8eee953 100644 --- a/libucl.json +++ b/libucl.json @@ -1,18 +1,25 @@ { - "Package": "libucl", - "Author": "antranigv", - "License": "BSD", - "Version": "0.1.0", - "Remote": - { + "package": "libucl", + "author": "antranigv", + "license": "BSD", + "version": "0.1.0", + "remote": { "type": "git", "path": "https://github.com/antranigv/voclibucl", - "tag" : "0.1.0" + "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 ." + } + ] } diff --git a/libxo.json b/libxo.json index fc984a3..fc96e37 100644 --- a/libxo.json +++ b/libxo.json @@ -1,17 +1,21 @@ { - "Package": "libxo", - "Author": "antranigv", - "License": "BSD", - "Version": "0.1.0", - "Remote": - { + "package": "libxo", + "author": "antranigv", + "license": "BSD", + "version": "0.1.0", + "remote": { "type": "git", "path": "https://github.com/antranigv/voclibxo", - "tag" : "0.1.0" + "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" + } + ] } diff --git a/lists.json b/lists.json index 680f7f3..3325732 100644 --- a/lists.json +++ b/lists.json @@ -1,22 +1,28 @@ { - "Package": "lists", - "Author": "noch", - "License": "GPL-3", - "Version": "0.1.0", - "Remote": - { + "package": "lists", + "author": "noch", + "license": "GPL-3", + "version": "0.1.0", + "remote": { "type": "git", "path": "https://github.com/norayr/lists", - "tag" : "0.1.0" - }, - "Dependencies": - { + "tag": "0.1.0" + }, + "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"} - ] + "build": [ + { + "command": "voc -s", + "file": "src/List.Mod" + }, + { + "command": "voc -s", + "file": "src/StringList.Mod" + }, + { + "command": "voc -m", + "file": "test/testList.Mod" + } + ] } diff --git a/manush.json b/manush.json index 5ff3573..5753793 100644 --- a/manush.json +++ b/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" + } ] } diff --git a/manush/manush-0.1.1.vipakfile b/manush/manush-0.1.1.vipakfile index 8f98816..e1d64af 100644 --- a/manush/manush-0.1.1.vipakfile +++ b/manush/manush-0.1.1.vipakfile @@ -6,7 +6,7 @@ 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 +DEPS = lists:0.1 opts:0.1 pipes:0.1 skprjson:0.1 RUN = MAIN = diff --git a/oberonDS.json b/oberonDS.json index ab25c9a..4a07c8d 100644 --- a/oberonDS.json +++ b/oberonDS.json @@ -1,21 +1,37 @@ { - "Package": "oberonDS", - "Author": "InnaKhachikyan", - "License": "unknown", - "Version": "0.1.0", - "Remote": - { + "package": "oberonDS", + "author": "InnaKhachikyan", + "license": "unknown", + "version": "0.1.0", + "remote": { "type": "git", "path": "https://github.com/InnaKhachikyan/oberonDS", - "tag" : "0.1.0" + "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" + } + ] } diff --git a/opts.json b/opts.json index 9ed6a22..6868f3e 100644 --- a/opts.json +++ b/opts.json @@ -1,22 +1,28 @@ { - "Package": "opts", - "Author": "noch", - "License": "GPL-3", - "Version": "0.1.0", - "Remote": - { + "package": "opts", + "author": "noch", + "license": "GPL-3", + "version": "0.1.0", + "remote": { "type": "git", "path": "https://github.com/norayr/opts", - "tag" : "0.1.0" - }, - "Dependencies": - { + "tag": "0.1.0" + }, + "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"} + "build": [ + { + "command": "voc -s", + "file": "src/optsos.Mod" + }, + { + "command": "voc -s", + "file": "src/opts.Mod" + }, + { + "command": "voc -m", + "file": "src/testopts.Mod" + } ] } diff --git a/pipes.json b/pipes.json index c4efc8a..1baab1f 100644 --- a/pipes.json +++ b/pipes.json @@ -1,17 +1,21 @@ { - "Package": "pipes", - "Author": "noch", - "License": "GPL-3", - "Version": "0.1.0", - "Remote": - { + "package": "pipes", + "author": "noch", + "license": "GPL-3", + "version": "0.1.0", + "remote": { "type": "git", "path": "https://github.com/norayr/pipes", - "tag" : "0.1.0" + "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" + } + ] } diff --git a/postgres.json b/postgres.json index 0949362..cbc5ed5 100644 --- a/postgres.json +++ b/postgres.json @@ -1,21 +1,24 @@ { - "Package": "postgres", - "Author": "noch", - "License": "GPL-3", - "Version": "0.1.0", - "Remote": - { + "package": "postgres", + "author": "noch", + "license": "GPL-3", + "version": "0.1.0", + "remote": { "type": "git", "path": "https://github.com/norayr/postgres", - "tag" : "0.1.0" + "tag": "0.1.0" + }, + "dependencies": { + "pipes": "0.1.0" + }, + "build": [ + { + "command": "voc -s", + "file": "postgres.Mod" }, - "Dependencies": - { - "pipes": "0.1.0" - }, - "Build": - [ - {"command": "voc -s", "file": "postgres.Mod"}, - {"command": "voc -m", "file": "PostgresTests.Mod"} - ] + { + "command": "voc -m", + "file": "PostgresTests.Mod" + } + ] } diff --git a/skprJson.json b/skprJson.json index afff01b..2f2d630 100644 --- a/skprJson.json +++ b/skprJson.json @@ -1,22 +1,25 @@ { - "Package": "skprJson", - "Author": "shekspir55", - "License": "GPL-3", - "Version": "0.1.0", - "Remote": - { + "package": "skprJson", + "author": "shekspir55", + "license": "GPL-3", + "version": "0.1.0", + "remote": { "type": "git", "path": "https://github.com/norayr/skprJson", - "tag" : "0.1.0" - }, - "Dependencies": - { - "lists": "0.1.0", - "skprLogger": "0.1.0" + "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" + } ] } diff --git a/skprJson/skprJson-0.1.0.vipakfile b/skprJson/skprJson-0.1.0.vipakfile index 232928f..52348aa 100644 --- a/skprJson/skprJson-0.1.0.vipakfile +++ b/skprJson/skprJson-0.1.0.vipakfile @@ -6,7 +6,7 @@ LICENSE = GPL-3 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 = MAIN = diff --git a/skprLogger.json b/skprLogger.json index b911f72..0d811f1 100644 --- a/skprLogger.json +++ b/skprLogger.json @@ -1,20 +1,20 @@ { - "Package": "skprLogger", - "Author": "shekspir55", - "License": "GPL-3", - "Version": "0.1.0", - "Remote": - { + "package": "skprLogger", + "author": "shekspir55", + "license": "GPL-3", + "version": "0.1.0", + "remote": { "type": "git", "path": "https://github.com/norayr/skprLogger", - "tag" : "0.1.0" - }, - "Dependencies": - { + "tag": "0.1.0" + }, + "dependencies": { "time": "0.1.0" }, - "Build": - [ - {"command": "voc -s", "file": "src/skprLogger.Mod"} + "build": [ + { + "command": "voc -s", + "file": "src/skprLogger.Mod" + } ] } diff --git a/strutils.json b/strutils.json index 06f8a67..45a0d5d 100644 --- a/strutils.json +++ b/strutils.json @@ -1,18 +1,25 @@ { - "Package": "strutils", - "Author": "noch", - "License": "GPL-3", - "Version": "0.1.0", - "Remote": - { + "package": "strutils", + "author": "noch", + "license": "GPL-3", + "version": "0.1.0", + "remote": { "type": "git", "path": "https://github.com/norayr/strutils", - "tag" : "0.1.0" + "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" + } + ] } diff --git a/strutils2.json b/strutils2.json index e28f717..fbddb8e 100644 --- a/strutils2.json +++ b/strutils2.json @@ -1,28 +1,39 @@ { - "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"} + "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" + } + ] } diff --git a/strutils2/strutils2-0.1.0.vipakfile b/strutils2/strutils2-0.1.0.vipakfile index cccbdae..69d48c1 100644 --- a/strutils2/strutils2-0.1.0.vipakfile +++ b/strutils2/strutils2-0.1.0.vipakfile @@ -4,13 +4,13 @@ VERSION = 0.1.0 AUTHOR = noch 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 = RUN = MAIN = -BUILD = ; +BUILD = voc -s strTypes.Mod;voc -s strUtils.Mod TEST_RUN = TEST_MAIN = diff --git a/test_server.json b/test_server.json index b2c1024..7bc9d6b 100644 --- a/test_server.json +++ b/test_server.json @@ -1,24 +1,27 @@ { - "Package": "test_server", - "Author": "noch", - "License": "GPL-3", - "Version": "0.1.0", - "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.0" - }, - "Dependencies": - { + "tag": "0.1.0" + }, + "dependencies": { "lists": "0.1.0", - "Internet":"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"} + "build": [ + { + "command": "voc -m", + "file": "src/testServer.Mod" + }, + { + "command": "voc -m", + "file": "src/testClient.Mod" + } ] } diff --git a/test_server/test_server-0.1.0.vipakfile b/test_server/test_server-0.1.0.vipakfile index efa1a1c..ba7410c 100644 --- a/test_server/test_server-0.1.0.vipakfile +++ b/test_server/test_server-0.1.0.vipakfile @@ -6,7 +6,7 @@ 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 +DEPS = lists:0.1.0 internet:0.1.0 time:0.1.0 fifo:0.1.0 RUN = MAIN = diff --git a/time.json b/time.json index 07fbe01..0aa351d 100644 --- a/time.json +++ b/time.json @@ -1,16 +1,17 @@ { - "Package": "time", - "Author": "noch", - "License": "GPL-3", - "Version": "0.1.0", - "Remote": - { + "package": "time", + "author": "noch", + "license": "GPL-3", + "version": "0.1.0", + "remote": { "type": "git", "path": "https://github.com/norayr/time", - "tag" : "0.1.0" - }, - "Build": - [ - {"command": "voc -s", "file": "src/time.Mod"} + "tag": "0.1.0" + }, + "build": [ + { + "command": "voc -s", + "file": "src/time.Mod" + } ] } diff --git a/unixFileSystem.json b/unixFileSystem.json index 8c44c2a..d41b352 100644 --- a/unixFileSystem.json +++ b/unixFileSystem.json @@ -1,17 +1,21 @@ { - "Package": "unixFileSystem", - "Author": "noch", - "License": "GPL-3", - "Version": "0.1.0", - "Remote": - { + "package": "unixFileSystem", + "author": "noch", + "license": "GPL-3", + "version": "0.1.0", + "remote": { "type": "git", "path": "https://github.com/norayr/unixFileSystem", - "tag" : "0.1.0" + "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" + } ] } diff --git a/unixfs.json b/unixfs.json index 3773176..814ac14 100644 --- a/unixfs.json +++ b/unixfs.json @@ -1,16 +1,17 @@ { - "Package": "unixfs", - "Author": "noch", - "License": "GPL-3", - "Version": "0.1.0", - "Remote": - { + "package": "unixfs", + "author": "noch", + "license": "GPL-3", + "version": "0.1.0", + "remote": { "type": "git", "path": "https://github.com/norayr/unixfs", - "tag" : "0.1.0" - }, - "Build": - [ - {"command": "voc -s", "file": "src/unixFiles.Mod"} + "tag": "0.1.0" + }, + "build": [ + { + "command": "voc -s", + "file": "src/unixFiles.Mod" + } ] } diff --git a/vpicl.json b/vpicl.json index d71dec5..bd01ebc 100644 --- a/vpicl.json +++ b/vpicl.json @@ -1,19 +1,29 @@ { - "Package": "vpicl", - "Author": "noch", - "License": "GPL-3", - "Version": "0.1.0", - "Remote": - { + "package": "vpicl", + "author": "noch", + "license": "GPL-3", + "version": "0.1.0", + "remote": { "type": "git", "path": "https://github.com/norayr/vpicl", - "tag" : "0.1.0" + "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" + } ] } diff --git a/xattr.json b/xattr.json index 49f7e5a..1d66b6d 100644 --- a/xattr.json +++ b/xattr.json @@ -1,16 +1,17 @@ { - "Package": "xattr", - "Author": "noch", - "License": "GPL-3", - "Version": "0.1.0", - "Remote": - { + "package": "xattr", + "author": "noch", + "license": "GPL-3", + "version": "0.1.0", + "remote": { "type": "git", "path": "https://github.com/norayr/xattr", - "tag" : "0.1.0" - }, - "Build": - [ - {"command": "voc -s", "file": "src/xattr.Mod"} + "tag": "0.1.0" + }, + "build": [ + { + "command": "voc -s", + "file": "src/xattr.Mod" + } ] }