mirror of
https://github.com/Jguer/yay.git
synced 2024-11-06 09:07:21 +01:00
67bd8cc9a2
Created .go/src which symlinks to vendor/. Running `make` now builds yay using the packages in vendor. This can still be overiden by running `make GOPATH=$HOME/go` Even though the makefile calls git to get the version, that can be overiden using `make MAJORVERSION=5 MINORVERSION=400`, skipping the call to git. This allows building yay/yay-bin using the makefile The yay binary is now always yay instead of taking the name of the parent directory. Added vet and fmt checks to `make test` for more checking. Reordered some stuff, made sure the dependency order is correct. Any command such as `make package` can be ran at any point, even after a `make clean` instead of having to execute the correct make commands in order. Changed install form using `go install` to a traditional install. The pkgbuilds can now use `make DESTDIR=$PKGDIR install`. Added uninstall to match. One thing this commit does not do is have proper recepies which depend on files instead of phonies. The reason for this is that it does not play that well with go's build system. Go is smart enough to only recompile needed files anyway. |
||
---|---|---|
.. | ||
src |