Skip to content

Commit

Permalink
Merge pull request Jguer#272 from Jguer/directory-change
Browse files Browse the repository at this point in the history
Update version for close release
  • Loading branch information
Jguer authored Mar 22, 2018
2 parents ac02498 + 82124c1 commit 415659d
Show file tree
Hide file tree
Showing 5 changed files with 332 additions and 306 deletions.
14 changes: 7 additions & 7 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
.PHONY: all default install test build release clean
VERSION := $(shell git rev-list --count master)
LDFLAGS=-ldflags '-s -w -X main.version=4.${VERSION}'
VERSION := 5.$(shell git rev-list --count master)
LDFLAGS=-ldflags '-s -w -X main.version=${VERSION}'
GOFILES := $(shell ls *.go | grep -v /vendor/)
ARCH=$(shell uname -m)
PKGNAME=yay

PACKAGE=${PKGNAME}_4.${VERSION}_${ARCH}
PACKAGE=${PKGNAME}_${VERSION}_${ARCH}

default: build

Expand All @@ -20,10 +20,10 @@ build:
release:
mkdir ${PACKAGE}
cp ./yay ${PACKAGE}/
cp ./yay.8 ${PACKAGE}/
cp ./zsh-completion ${PACKAGE}/
cp ./yay.fish ${PACKAGE}/
cp ./bash-completion ${PACKAGE}/
cp ./doc/yay.8 ${PACKAGE}/
cp ./completions/zsh ${PACKAGE}/
cp ./completions/fish ${PACKAGE}/
cp ./completions/bash ${PACKAGE}/
package:
tar -czvf ${PACKAGE}.tar.gz ${PACKAGE}
clean:
Expand Down
1 change: 1 addition & 0 deletions bash-completion → completions/bash
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# vim:fdm=marker foldlevel=0 tabstop=2 shiftwidth=2 filetype=bash
# This file is in the public domain.

_arch_compgen() {
Expand Down
1 change: 1 addition & 0 deletions yay.fish → completions/fish
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# vim:fdm=marker foldlevel=0 tabstop=2 shiftwidth=2 filetype=fish
# Original Author for pacman: Giorgio Lando <patroclo7@gmail.com>
# Updated for yay by jguer

Expand Down
Loading

0 comments on commit 415659d

Please sign in to comment.