Commit Graph

270 Commits

Author SHA1 Message Date
ae3b595f06 Add version() function 2022-10-02 20:09:12 -07:00
53b67203d8 Pass function directory using new ScriptFunc arguments 2022-10-02 20:06:00 -07:00
e1e57fbb0c Pass options to subshell when executing a ScriptFunc 2022-10-02 19:59:10 -07:00
65bd9cb352 Add CI badge to README 2022-10-01 21:04:42 -07:00
37629ef9bb Add documentation about Like distros 2022-10-01 21:00:57 -07:00
7e9e241df3 Disable like distros if LURE_DISTRO is set 2022-10-01 20:56:08 -07:00
61bcacba51 Add option to disable like distros in decoder 2022-10-01 20:53:26 -07:00
0aeb154933 Move cross-packaging instructions to usage docs 2022-10-01 18:20:54 -07:00
f9652abfe9 Ask user for confirmation if CPU arch doesn't match 2022-10-01 14:39:26 -07:00
03beaa5a1b Fix apk remove command 2022-10-01 01:47:07 -07:00
eca4e5cf60 Run gofmt 2022-10-01 01:30:44 -07:00
9c15ad73bd Add options to package managers 2022-10-01 01:30:13 -07:00
6ebd5cfc11 Only set epoch if not equal to zero 2022-10-01 00:47:50 -07:00
55eabbd4cb Run gofmt 2022-09-30 20:09:09 -07:00
54261ea4fd Factor in ID_LIKE variable and ARM variants when checking for overrides 2022-09-30 20:07:44 -07:00
ec8474f981 Return EOF if Nop ReadWriteCloser is used 2022-09-30 16:25:40 -07:00
303cf27b77 Remove error when nop exec handler is executed 2022-09-30 16:22:27 -07:00
d854c2baf6 Move reading build vars to separate function 2022-09-30 16:05:50 -07:00
dab97a2083 If build dependencies exist, prompt to remove after build 2022-09-30 15:52:46 -07:00
cf96842de1 Remove patches from planned features 2022-09-30 15:46:12 -07:00
4bc206cccc Set minimum Go version in module to 1.18 2022-09-30 13:58:50 -07:00
6440392839 Document functions in build-scripts.md 2022-09-30 13:51:20 -07:00
3ef4674614 Require package() function to be present 2022-09-30 13:50:17 -07:00
add9b2884e Merge branch 'master' of gitea 2022-09-30 13:46:43 -07:00
b0be445c1f Merge pull request #9 from vaporup/patch-4 2022-09-30 13:39:53 -07:00
Sven Wick
da762aba64 Update configuration.md 2022-09-30 22:37:43 +02:00
a73449d0bb Add prepare() function 2022-09-30 13:22:10 -07:00
fed60fa441 Add docs for configuration 2022-09-30 13:10:27 -07:00
5cdc20b1f8 Add usage docs 2022-09-29 21:46:13 -07:00
a48bf271a1 Fix build deps path in docs 2022-09-29 21:22:42 -07:00
043406355e Fix path to build scripts docs 2022-09-29 14:37:23 -07:00
763a66f68b Add documentation 2022-09-29 14:36:06 -07:00
b25d3e9965 Add conflicts, replaces, provides to nfpm.Overridables 2022-09-29 14:35:56 -07:00
c159377df3 Fix AUR badge 2022-09-29 20:18:45 +00:00
e70a444162 Add Maintainer field to script variables 2022-09-29 01:31:33 -07:00
2409f5671c Merge pull request #5 from vaporup/patch-2 2022-09-28 18:17:46 -07:00
Sven Wick
72d6f13c84 Update README.md 2022-09-29 03:16:16 +02:00
52325a2411 Remove completed planned feature from README 2022-09-28 17:11:47 -07:00
a5a5ac3ac8 Update installation instructions 2022-09-28 17:10:35 -07:00
0c5125383b Add Makefile 2022-09-28 17:10:01 -07:00
4688dee2af Add goreleaser config 2022-09-28 16:47:37 -07:00
5009f1329c Add more planned features 2022-09-28 15:33:09 -07:00
596a0bf568 Take epoch into account when building packages 2022-09-28 15:26:22 -07:00
79e041d219 Run gofmt 2022-09-28 15:23:09 -07:00
Sven Wick
fb7eeff100 Merge branch 'Arsen6331:master' into patch-2 2022-09-28 22:43:04 +02:00
8ee2c8338e Use all as architecture if architectures array contains it 2022-09-28 13:03:44 -07:00
Sven Wick
d93cb8272e Update README.md 2022-09-28 21:45:00 +02:00
Sven Wick
794b399fef Update README.md
Add doc for cross-packaging
2022-09-28 21:43:36 +02:00
3fa0759e60 Allow overriding package format and distro while building 2022-09-28 10:08:28 -07:00
b028d877f9 Merge pull request #2 from vaporup/patch-1 2022-09-28 09:50:42 -07:00