Commit Graph
61 Commits
Author SHA1 Message Date
Colin Woodbury 6ea9720f90 feat: inject custom commands into package() 2024-03-22 08:19:40 +09:00
Colin Woodbury 94bd36af28 fix: absorb any extra free arguments
Perhaps new versions of cargo are passing the name of the cargo
subtool (`aur` in this case) to the tool itself? Either way, `gumdrop`
suddenly started barfing on this.
2024-03-18 09:39:36 +09:00
Colin Woodbury 4bebc62331 feat: prepend $pkgdir to avoid user hassle 2024-03-07 20:40:25 +09:00
Colin Woodbury d08e994b52 feat: actually copy the designated files into the tarball 2024-03-05 21:57:27 +09:00
Colin Woodbury fc23ad83fe feat: support files field in package metadata 2024-03-05 14:34:28 +09:00
Colin Woodbury 4080395c00 refactor: a few minor cleanups 2024-03-05 10:32:22 +09:00
bunburya 4d99751ee6 detect url from homepage, documentation or repository fields 2024-03-04 22:18:30 +00:00
Colin Woodbury 4da661c605 docs: add a few docstrings 2023-11-27 15:39:41 +09:00
Colin Woodbury c36fdec13a fix: default output should respect CARGO_TARGET_DIR 2023-11-27 15:35:21 +09:00
Colin Woodbury 37e93df347 lint: remove unused "free" args field 2023-11-27 15:04:25 +09:00
Colin Woodbury d08192a721 refactor: minor alterations 2023-11-27 15:01:48 +09:00
Colin Woodbury 2bc4b8c7b5 refactor: move types to lib.rs
This is so that they can be more easily tested in a REPL.
2023-11-27 14:54:04 +09:00
Sergio Ribera 55fc12153b fix: replace string path by pathbuf 2023-11-21 17:07:23 -04:00
Sergio Ribera 0484b382eb feat: add custom output as argument 2023-11-05 23:22:50 -04:00
Colin Woodbury 00c323a77d fix: check licenses via SPDX identifiers
Fixes #16
2023-10-02 16:49:25 +09:00
Colin Woodbury 506cbdaa7f fix: allow [package.metadata.aur] to be missing 2023-10-02 16:23:45 +09:00
Colin Woodbury eb0e27f77a fix: ensure target/cargo-aur exists before writing to it 2023-10-02 16:14:24 +09:00
Colin Woodbury 1a0fbf55f9 fix: silently support the old metadata syntax
But warn the user if they're still using it. This is to avoid a breaking change.
2023-10-02 16:07:56 +09:00
Colin Woodbury 24eaa15769 Merge branch 'master' into BKSalman/master 2023-10-02 15:46:39 +09:00
Colin Woodbury 40f348f311 refactor: main yields ExitCode 2023-10-02 15:15:03 +09:00
Colin Woodbury 7f85ed3725 lint: drop itertools dependency 2023-10-02 15:08:04 +09:00
Colin Woodbury 698e14bb14 chore: bump dependencies 2023-10-02 15:01:42 +09:00
BKSalman ff1b93096c from 'target/aur' to 'target/cargo-aur' 2022-10-19 01:17:53 +03:00
BKSalman 1227ef8e36 made dependency a sub table of 'aur' to not conflict with other cargo subcommands, changed the directory the tar and PKGBUILD files are saved in to 'target/aur' 2022-10-19 01:10:39 +03:00
Colin Woodbury 227c3a7391 feat: use Display to pretty-print the arrays 2022-04-20 17:01:48 -07:00
Marcos Gutiérrez AlonsoandColin Woodbury 0c485c43fc Added optional table 2022-04-20 16:32:05 -07:00
Marcos Gutiérrez AlonsoandColin Woodbury 000b742a22 Added optional depends and optdepends 2022-04-20 16:32:05 -07:00
Colin Woodbury 861fa59aa3 fix: allow [[bin]] to be missing 2022-04-20 16:29:14 -07:00
Colin Woodbury 7e353578c0 feat: alter which names appear where 2022-04-20 09:56:01 -07:00
Colin Woodbury f837fd18a6 feat: account for custom binary names 2022-04-18 21:26:26 -07:00
Colin Woodbury d6f9faefdd 1.4.1 2021-09-06 18:17:45 -07:00
anteater 8dbdc1ab71 use CARGO_TARGET_DIR from the environment if set
in doing so, usr OsStr rather than string to support a wider variety of paths
2021-09-06 19:47:42 +00:00
Colin Woodbury b7eb36b74d Minor doc tweaks 2021-06-08 08:35:34 -07:00
Colin Woodbury deb0768f3b Mention that the PKGBUILD is auto-generated 2021-06-07 10:44:04 -07:00
Colin Woodbury 113a00c206 Install the LICENSE file if necessary 2021-06-07 10:39:48 -07:00
Colin Woodbury a676669e63 If a LICENSE must be copied, ensure it's there 2021-06-07 10:02:53 -07:00
Colin Woodbury 0ea8be5a73 Output progress messages 2021-06-06 11:11:33 -07:00
Colin Woodbury b8e33deed7 Only copy the LICENSE if we actually have to
Which is defined by whether or not the LICENSE is already present in
`/usr/share/licenses/common/`.
2021-06-06 10:51:45 -07:00
Colin Woodbury ffed75dcb0 Copy LICENSE file to tarball if it's there 2021-06-06 10:33:12 -07:00
Colin Woodbury 6dd2e4c674 Check for missing LICENSE 2021-06-05 08:48:09 -07:00
Colin Woodbury 6c40291afe Output the conflicts field 2021-06-05 08:25:01 -07:00
Colin Woodbury e1c9ff6fe1 Remove anyhow 2021-06-05 08:19:27 -07:00
Colin Woodbury d47558481a Don't set strip explicitly, since it's already a default 2021-04-05 12:00:21 -07:00
Colin Woodbury 06c5ab9b69 Add --version flag 2020-08-24 14:17:55 -07:00
Colin Woodbury 8e223c5a2d Warn if the MUSL target is missing when using --musl 2020-08-11 14:14:26 -07:00
Colin Woodbury b1383ff6ff Strip the release binary before tarring it 2020-08-11 13:49:18 -07:00
Colin Woodbury ab018dce5f Capture all free arguments 2020-08-11 13:27:40 -07:00
Colin Woodbury 86adc54767 New --musl flag to link statically 2020-08-10 16:35:20 -07:00
Colin Woodbury 700cd6ca81 Drop auto_from for anyhow 2020-06-22 11:57:09 -07:00
Colin Woodbury d2753668c1 Auto-detect the git host instead 2020-06-17 18:48:36 -07:00