Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ jobs:
- name: 'REUSE check'
run: |
source ~/venv/bin/activate
rm wcurl-rs/Cargo.lock
reuse lint

- name: Run zizmor
Expand Down
8 changes: 7 additions & 1 deletion tests/tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,13 @@

ROOTDIR=$(CDPATH=$(cd -- "$(dirname -- "$0")/.." && pwd))
readonly ROOTDIR
export PATH="${ROOTDIR}:${PATH}"

# Determine which binary to use
if [ -x "${ROOTDIR}/wcurl-rs/target/release/wcurl" ]; then
export PATH="${ROOTDIR}/wcurl-rs/target/release:${PATH}"
else
export PATH="${ROOTDIR}:${PATH}"
fi

readonly WCURL_CMD="wcurl --dry-run "

Expand Down
7 changes: 7 additions & 0 deletions wcurl-rs/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

23 changes: 23 additions & 0 deletions wcurl-rs/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# SPDX-FileCopyrightText: 2025 Eric Curtin <[email protected]>
#
# SPDX-License-Identifier: curl

[package]
name = "wcurl"
version = "2025.11.4"
edition = "2021"
description = "A simple wrapper around curl to easily download files"
license = "curl"
authors = [
"Eric Curtin <[email protected]>"
]

[dependencies]

[profile.release]
lto = true
codegen-units = 1
strip = true
panic = "abort"
opt-level = "s" # Optimize for size
debug = false
Loading