-
-
Notifications
You must be signed in to change notification settings - Fork 763
Closed as duplicate of#2353
Description
Description
I opened a Red Hat Bugzilla report for go-task not being able to detect the CPU Architecture because uname -p doesn't seem to report the CPU Arch, but a uname -m
They recommend using uname -m to get the CPU Architecture.
$ go-task --version
/usr/sbin/go-task: line 1: syntax error near unexpected token `newline'
/usr/sbin/go-task: line 1: `!<arch>'dnf info go-task
Updating and loading repositories:
Repositories loaded.
Installed packages
Name : go-task
Epoch : 0
Version : 3.44.1
Release : 2.fc42
Architecture : x86_64
Installed size : 2.6 MiB
Source : golang-github-task-3.44.1-2.fc42.src.rpm
From repository : updates
Summary : Provides the go-task task-runner binary
URL : https://github.com/go-task/task
License : Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND ISC AND MIT
Description : %{common_description}
Vendor : Fedora ProjectVersion
3.44.1
Operating system
Fedora Linux 42
Experiments Enabled
No response
Example Taskfile
# https://taskfile.dev
version: '3'
vars:
GREETING: Hello, World!
tasks:
default:
cmds:
- echo "{{.GREETING}}"
silent: trueMetadata
Metadata
Assignees
Labels
No labels