Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37400695
en ru br
ALT Linux repos
S:3.19.1-alt1

Group :: Other
RPM: go-task

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%global import_path github.com/go-task/task
Name:     go-task
Version:  3.19.1
Release:  alt1

Summary:  A task runner / simpler Make alternative written in Go
License:  MIT
Group:    Other
Url:      https://github.com/go-task/task

Packager: Mikhail Gordeev <obirvalger at altlinux.org>

Source0:   %name-%version.tar
Source1:   vendor.tar

BuildRequires(pre): rpm-build-golang
BuildRequires: golang

%description
Task is a task runner / build tool that aims to be simpler and easier to use
than, for example, GNU Make.

%prep
%setup -a1

%build
export BUILDDIR="$PWD/.build"
export IMPORT_PATH="%import_path"
export GOPATH="$BUILDDIR:%go_path"

%golang_prepare

cd .build/src/%import_path
%golang_build cmd/task

%install
export BUILDDIR="$PWD/.build"
export IGNORE_SOURCES=1

%golang_install

install -Dm 644 completion/zsh/_task %buildroot/%_datadir/zsh/site-functions/_task

%files
%_bindir/task
%doc *.md
%doc docs
%_datadir/zsh/site-functions/_task

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin