hermetic-launcher
Minimal, deterministic Bazel launcher stubs for all platforms. Create tiny native binaries (10-68KB) from templates with embedded arguments and runfiles resolution. Built with Rust.
File Explorer
- metadata.template.json
- presubmit.yml
- source.template.json
- ci.yml
- publish.yaml
- release-rules.yml
- release.yml
- release_prep.sh
- BUILD.bazel
- BUILD.bazel
- hello_cc.cc
- hello_go.go
- hello_py.py
- hello_sh.sh
- MODULE.bazel
- BUILD.bazel
- defs.bzl
- hello_cc.cc
- hello_go.go
- hello_py.py
- hello_sh.sh
- config.toml
- main.rs
- BUILD.bazel
- Cargo.lock
- Cargo.toml
- add_numbers.rs
- hash_file.rs
- merge_json.rs
- orchestrator.rs
- print_env.rs
- main.rs
- BUILD.bazel
- Cargo.lock
- Cargo.toml
- BUILD.bazel
- BUILD.bazel
- BUILD.bazel
- finalizer_toolchain_info.bzl
- stub_template_toolchain_info.bzl
- BUILD.bazel
- launcher_binary.bzl
- lib.bzl
- BUILD.bazel
- MODULE.bazel
- BUILD.bazel
- BUILD.bazel
- extensions.bzl
- file_binary_rule.bzl
- stub_finalizer_toolchain.bzl
- stub_template_toolchain.bzl
- toolchains.bzl
- BUILD.bazel
- BUILD.bazel
- launcher_binary.bzl
- lib.bzl
- config.toml
- main.rs
- BUILD.bazel
- Cargo.lock
- Cargo.toml
- optimize_binary.bzl
- BUILD.bazel
- rules-rs-windows-rust-linker.patch
- rules-rust-skip-unused-cc-runtime.patch
- xz-s390x-support.patch
- BUILD.bazel
- config.toml
- allocator.rs
- common.rs
- linux.rs
- macos.rs
- main.rs
- placeholders.rs
- run.rs
- runfiles.rs
- windows.rs
- BUILD.bazel
- Cargo.lock
- Cargo.toml
- manifest_basic.txt
- manifest_macos.txt
- manifest_multiple_repos.txt
- manifest_symlinks.txt
- manifest_basic.txt
- manifest_multiple_repos.txt
- manifest_spaces_in_path.txt
- BUILD.bazel
- entrypoint_api_test.bzl
- fake_config.txt
- fake_entrypoint.sh
- fake_env_config.txt
- fake_main.txt
- main.rs
- Cargo.toml
- binary-size-report.py
- build-release-binaries.sh
- BUILD.bazel
- update-binaries.sh
- .bazelignore
- .bazelrc
- .bazelversion
- .gitignore
- BUILD.bazel
- defs.bzl
- flake.nix
- LICENSE
- MODULE.bazel
- MODULE.bazel.lock
- README.md
# Use via CDN
jsDelivrjsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.
Command Glossary
Commands referenced in this DOCs, explained below.
bazel
View Details ▼
bazel
Open-source build and test tool similar to Make, Maven, and Gradle.
bazel build {{target}}
Build the specified target in the workspace:
bazel clean
Remove output files and stop the server if running:
bazel shutdown
Stop the bazel server:
git add
View Details ▼
git add
Stage changed files for a commit.
git add {{path/to/file}}
Stage a file for a commit:
git add {{[-A|--all]}}
Add all files (tracked and untracked):
git add .
Add all files recursively starting from the current folder:
git checkout
View Details ▼
git checkout
Checkout a branch or paths to the working tree.
git checkout -b {{branch_name}}
Create and switch to a new branch:
git checkout -b {{branch_name}} {{reference}}
Create and switch to a new branch based on a specific reference (branch, remote/branch, tag are examples of valid references):
git checkout {{branch_name}}
Switch to an existing local branch:
git commit
View Details ▼
git commit
Commit files to the repository.
git commit
Open an editor to write a message and commit staged files to the repository:
git commit {{[-m|--message]}} "{{message}}"
Commit staged files to the repository with the specified message:
git commit {{[-F|--file]}} {{path/to/commit_message_file}}
Commit staged files with a message read from a file:
openssl dgst
View Details ▼
openssl dgst
Generate digest values and perform signature operations.
openssl dgst -sha256 -binary -out {{output_file}} {{input_file}}
Calculate the SHA256 digest for a file, saving the result to a specific file:
openssl dgst -sign {{private_key_file}} -sha256 -sigopt rsa_padding_mode:pss -out {{output_file}} {{input_file}}
Sign a file using an RSA key, saving the result to a specific file:
openssl dgst -verify {{public_key_file}} -signature {{signature_file}} -sigopt rsa_padding_mode:pss {{signature_message_file}}
Verify an RSA signature:
openssl
View Details ▼
openssl
OpenSSL cryptographic toolkit.
Some subcommands such as `req` have their own usage documentation.
openssl genpkey -algorithm {{rsa|ec}} -out {{path/to/private.key}} -aes256
Generate a private key and encrypt the output file using AES-256:
openssl rsa -in {{path/to/private.key}} -pubout -out {{path/to/public.key}}
Generate the corresponding public key from the private key `private.key` using `rsa`:
openssl req -new -x509 -key {{path/to/private.key}} -out {{path/to/certificate.crt}} -days 365
Generate a self-signed certificate valid for a specified number of days (365):
