Skip to content

Commit

Permalink
fix: lsd repo path change
Browse files Browse the repository at this point in the history
ref: #127
  • Loading branch information
innobead authored and David Ko committed Dec 5, 2023
1 parent 7901b2c commit 9d1da1c
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 14 deletions.
22 changes: 16 additions & 6 deletions crates/generator/src/pkg/lsd.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@ pub fn release() -> Package {
Package {
name: "lsd".to_string(),
source: PackageSource::Github {
owner: "Peltoche".to_string(),
owner: "lsd-rs".to_string(),
repo: "lsd".to_string(),
},
detail: None,
targets: vec![
PackageTargetType::LinuxAmd64(PackageManagement {
artifact_templates: vec![
"lsd-{version}-x86_64-unknown-linux-musl.tar.gz".to_string()
"lsd-v{version}-x86_64-unknown-linux-musl.tar.gz".to_string()
],
executable_templates: None,
executable_mappings: None,
Expand All @@ -24,7 +24,7 @@ pub fn release() -> Package {
}),
PackageTargetType::LinuxArm64(PackageManagement {
artifact_templates: vec![
"lsd-{version}-aarch64-unknown-linux-musl.tar.gz".to_string()
"lsd-v{version}-aarch64-unknown-linux-musl.tar.gz".to_string()
],
executable_templates: None,
executable_mappings: None,
Expand All @@ -36,7 +36,7 @@ pub fn release() -> Package {
}),
PackageTargetType::LinuxArm32(PackageManagement {
artifact_templates: vec![
"lsd-{version}-arm-unknown-linux-gnueabihf.tar.gz".to_string()
"lsd-v{version}-arm-unknown-linux-gnueabihf.tar.gz".to_string()
],
executable_templates: None,
executable_mappings: None,
Expand All @@ -47,7 +47,17 @@ pub fn release() -> Package {
scan_dirs: None,
}),
PackageTargetType::MacOS(PackageManagement {
artifact_templates: vec!["lsd-{version}-x86_64-apple-darwin.tar.gz".to_string()],
artifact_templates: vec!["lsd-v{version}-x86_64-apple-darwin.tar.gz".to_string()],
executable_templates: None,
executable_mappings: None,
install_commands: None,
uninstall_commands: None,
upgrade_commands: None,
tag_version_regex_template: None,
scan_dirs: None,
}),
PackageTargetType::MacOSArm64(PackageManagement {
artifact_templates: vec!["lsd-v{version}-aarch64-apple-darwin.tar.gz".to_string()],
executable_templates: None,
executable_mappings: None,
install_commands: None,
Expand All @@ -57,7 +67,7 @@ pub fn release() -> Package {
scan_dirs: None,
}),
PackageTargetType::Windows(PackageManagement {
artifact_templates: vec!["lsd-{version}-x86_64-pc-windows-msvc.zip".to_string()],
artifact_templates: vec!["lsd-v{version}-x86_64-pc-windows-msvc.zip".to_string()],
executable_templates: None,
executable_mappings: None,
install_commands: None,
Expand Down
2 changes: 1 addition & 1 deletion doc/packages.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@
linkerd2-edge Ultralight, security-first service mesh for Kubernetes. Main repo for Linkerd 2.x. https://github.com/linkerd/linkerd2
linkerd2-stable Ultralight, security-first service mesh for Kubernetes. Main repo for Linkerd 2.x. https://github.com/linkerd/linkerd2
loc Count lines of code quickly. https://github.com/cgag/loc
lsd The next gen ls command https://github.com/Peltoche/lsd
lsd The next gen ls command https://github.com/lsd-rs/lsd
minikube Run Kubernetes locally https://github.com/kubernetes/minikube
mkcert A simple zero-config tool to make locally trusted development certificates with any names you'd like... https://github.com/FiloSottile/mkcert
nat `ls` alternative with useful info and a splash of color 🎨 https://github.com/willdoescode/nat
Expand Down
2 changes: 1 addition & 1 deletion generated/index.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@
owner: cgag
source: github
- name: lsd
owner: Peltoche
owner: lsd-rs
source: github
- name: minikube
owner: kubernetes
Expand Down
15 changes: 9 additions & 6 deletions generated/packages/lsd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,25 @@ name: lsd
description: The next gen ls command
source:
Github:
owner: Peltoche
owner: lsd-rs
repo: lsd
targets:
- LinuxAmd64:
artifact_templates:
- lsd-{version}-x86_64-unknown-linux-musl.tar.gz
- lsd-v{version}-x86_64-unknown-linux-musl.tar.gz
- LinuxArm64:
artifact_templates:
- lsd-{version}-aarch64-unknown-linux-musl.tar.gz
- lsd-v{version}-aarch64-unknown-linux-musl.tar.gz
- LinuxArm32:
artifact_templates:
- lsd-{version}-arm-unknown-linux-gnueabihf.tar.gz
- lsd-v{version}-arm-unknown-linux-gnueabihf.tar.gz
- MacOS:
artifact_templates:
- lsd-{version}-x86_64-apple-darwin.tar.gz
- lsd-v{version}-x86_64-apple-darwin.tar.gz
- MacOSArm64:
artifact_templates:
- lsd-v{version}-aarch64-apple-darwin.tar.gz
- Windows:
artifact_templates:
- lsd-{version}-x86_64-pc-windows-msvc.zip
- lsd-v{version}-x86_64-pc-windows-msvc.zip
detail: null

0 comments on commit 9d1da1c

Please sign in to comment.