Install with Scoop

Scoop is a command-line installer for Windows. Vect ships in its own bucket, so it never waits on store approval.

For users

1 · Install Scoop itself (once):

> irm get.scoop.sh | iex

2 · Add the Vect bucket and install:

> scoop bucket add vect https://github.com/MerixCipher/scoop-bucket
> scoop install vect/vectc

3 · Run it anywhere (Scoop puts vectc on PATH):

> vectc hello.vt

Update later with scoop update vectc.

For maintainers (publishing a release)

The bucket is just a repo holding one JSON file per app. To publish Vect vX.Y.Z:

  1. Build vectc.exe with -O ReleaseFast, zip it as vectc-vX.Y.Z-windows-x64.zip, upload to site/dl/ ( published as https://vect-7v7s.onrender.com/dl/… ).
  2. Hash it: Get-FileHash vectc-vX.Y.Z-windows-x64.zip -Algorithm SHA256.
  3. Put the version + URL + hash into bucket/vectc.json in the scoop-bucket repo (template lives in this repo under scoop/).
  4. Test locally before pushing: scoop install .\vectc.json, then vectc hello.vt.

Manifest reference

{
    "version": "0.2.3",
    "description": "Vect ultra-compact low-level language toolchain",
    "homepage": "https://vect-7v7s.onrender.com",
    "license": "Proprietary",
    "architecture": {
        "64bit": {
            "url": "https://vect-7v7s.onrender.com/dl/vectc-v0.2.3-windows-x64.zip",
            "hash": "PUT-SHA256-HERE"
        }
    },
    "bin": "vectc.exe",
    "checkver": {
        "url": "https://vect-7v7s.onrender.com/dl/version.txt",
        "regex": "([\\d.]+)"
    },
    "autoupdate": {
        "architecture": {
            "64bit": {
                "url": "https://vect-7v7s.onrender.com/dl/vectc-$version-windows-x64.zip"
            }
        }
    }
}

checkver + autoupdate let scoop update discover new versions from a tiny version.txt file containing e.g. 0.2.1. Keep that file next to the zips in site/dl/.