Thiago Kenji Okada
c39d4bc320
Improve install script ( #842 )
...
* Add checksum to install script
This will allow someone to check if Babashka is correctly downloaded,
e.g.:
```
$ ./install --dir /tmp --checksum 3cb19f158b9f1655e0165b6c4067d35faaa05882bbdb230616c91085b02b5bf4
Downloading https://github.com/babashka/babashka/releases/download/v0.4.1/babashka-0.4.1-linux-amd64.tar.gz to /tmp
Failed checksum on babashka-0.4.1-linux-amd64.tar.gz
Got: 3cb19f158b9f1655e0165b6c4067d35faaa05882bbdb230616c91085b02b5bf3
Expected: 3cb19f158b9f1655e0165b6c4067d35faaa05882bbdb230616c91085b02b5bf4
```
There is no check by default. This makes this change backwards
compatible (e.g.: if the machine doesn't have sha256sum, this change
will not break installation).
* Add --static to install script
This will allow installation of static instead of dynamically binaries
on Linux.
* Add checksum to print_help
* Add check that --checksum and --options should be provided together
2021-05-14 21:05:38 +02:00
Michiel Borkent
e6a2fdbb45
Add HoneySql v2 tests ( #841 )
2021-05-14 12:04:56 +02:00
Michiel Borkent
17a7129595
README [skip ci]
2021-05-14 10:30:52 +02:00
Michiel Borkent
439a1b1053
Version bump
2021-05-13 13:46:44 +02:00
Michiel Borkent
4c816cbfba
v0.4.1
2021-05-13 13:26:14 +02:00
Michiel Borkent
6aca41a48a
[ #829 ] Allow thread-first in combination with shell
2021-05-13 13:10:56 +02:00
Michiel Borkent
11b066ae70
Include binary size in msg
2021-05-13 12:13:02 +02:00
Michiel Borkent
c01700c9c7
Update release link
2021-05-13 12:10:37 +02:00
Michiel Borkent
c8e6e7ad4c
Update release link
2021-05-13 12:02:01 +02:00
Michiel Borkent
7462d86afd
[ #837 ] Add babashka.task System property
2021-05-13 11:53:28 +02:00
Michiel Borkent
5014012bd6
[ #836 ] Add :error-fn option to shell
2021-05-13 11:45:27 +02:00
Michiel Borkent
5554619a9d
Selmer: util/set-missing-value-formatter!
2021-05-11 22:13:50 +02:00
Michiel Borkent
00fd7820c3
Fix Windows httpkit config
2021-05-11 14:16:35 +02:00
Michiel Borkent
4ffd08f360
[ #835 ] Expose escaping functions from selmer.util
2021-05-11 13:19:31 +02:00
Michiel Borkent
e3413600c6
Add thread-bound?
2021-05-11 11:42:38 +02:00
Michiel Borkent
c18be0a157
Import NullPointerException
2021-05-11 10:15:42 +02:00
Thiago Kenji Okada
14e053e0a3
Add BABASHKA_MUSL build variable ( #834 )
...
This allows building a Babashka binary using musl C libraries instead,
instead of hardcoding this accordingly to the CPU arch.
2021-05-11 00:10:11 +02:00
Michiel Borkent
43ba26e11a
musl workaround
2021-05-10 23:31:08 +02:00
Michiel Borkent
f8944f1286
Another bash fix
2021-05-10 23:27:54 +02:00
Michiel Borkent
562922a586
Fix order in Dockerfile
2021-05-10 23:25:01 +02:00
Michiel Borkent
a8528e4a4a
Fix bash
2021-05-10 23:16:59 +02:00
Michiel Borkent
f4fb27be98
Fix bash script
2021-05-10 23:08:11 +02:00
Michiel Borkent
3800245849
musl
2021-05-10 23:03:46 +02:00
Michiel Borkent
798ec2e3d4
musl
2021-05-10 23:03:39 +02:00
Michiel Borkent
34bbea0204
Move setup-musl to .circleci scripts ( #833 )
2021-05-10 22:46:32 +02:00
Michiel Borkent
7106c1554f
docs [skip ci]
2021-05-10 20:06:30 +02:00
Michiel Borkent
6edc26c834
[ #831 ] Workaround for musl stack size issues
2021-05-10 18:29:26 +02:00
Thiago Kenji Okada
73d454be46
Add sha256sum check to zlib ( #830 )
...
Just to make sure that we are using the correct source code.
2021-05-10 17:33:10 +02:00
Michiel Borkent
f4b9f8a59d
Temporarily enable static build on master]
2021-05-09 23:48:30 +02:00
Thiago Kenji Okada
ddc900a656
Build BABASHKA_STATIC with musl C library ( #828 )
...
* Build BABASHKA_STATIC with musl C library
Based on https://github.com/babashka/pod-babashka-aws/pull/37 .
This is the recommended way to build static binaries with GraalVM by the
documentation and multiple issues on GitHub. See:
- https://www.graalvm.org/reference-manual/native-image/StaticImages/
- oracle/graal#571 (comment)
The reason that building a statically binary with glibc is complicated
is explained in the glib documentation:
https://sourceware.org/glibc/wiki/FAQ#Even_statically_linked_programs_need_some_shared_libraries_which_is_not_acceptable_for_me.__What_can_I_do.3F
* Bring back zlib1g-dev
Seems it is necessary for the non-static build.
2021-05-09 23:30:27 +02:00
Michiel Borkent
36e50e0f0d
Add help for tasks and run
2021-05-08 23:51:15 +02:00
Michiel Borkent
f8a18b56ec
Version bump
2021-05-08 18:42:39 +02:00
Michiel Borkent
83925e432d
0.4.0
2021-05-08 18:09:15 +02:00
Michiel Borkent
7912aa764c
v0.3.9
2021-05-08 18:04:36 +02:00
Michiel Borkent
d4ed910c22
Update selmer
2021-05-08 16:37:33 +02:00
Michiel Borkent
fe9370e04b
Tasks: inherit parallel option
2021-05-08 16:21:54 +02:00
Michiel Borkent
b5a1dce4ec
sci: better error msg for protocol not found or class
2021-05-08 11:59:21 +02:00
Michiel Borkent
f3a441ee3c
minor
2021-05-08 11:06:34 +02:00
Michiel Borkent
9a8bf7d0c3
[ #825 ] Handle uneval-ed expressions in bb tasks
2021-05-08 11:02:05 +02:00
Dirk Wetzel
69ee221eda
Add class java.util.zip.ZipOutputStream ( #824 )
2021-05-07 16:17:09 +02:00
Michiel Borkent
f6e3e81252
[ #823 ] Add tests for jasentaa
2021-05-07 12:08:02 +02:00
Michiel Borkent
cab3307a07
[ #823 ] Add tests for jasentaa
2021-05-07 11:58:18 +02:00
Michiel Borkent
d52ad92cb4
Add java.text.ParseException
2021-05-07 11:26:38 +02:00
Michiel Borkent
59cbfe43e0
Add java.text.ParserException
2021-05-07 11:22:37 +02:00
Michiel Borkent
b488c65d31
Bump Selmer to 1.12.39
2021-05-07 10:02:59 +02:00
Michiel Borkent
add7e7d216
Fix Selmer
2021-05-06 22:02:06 +02:00
Michiel Borkent
0a877f2976
Bump Selmer
2021-05-06 21:24:56 +02:00
Michiel Borkent
31f7732d4f
Depend on selmer upstream
2021-05-06 18:09:36 +02:00
Michiel Borkent
4f70079f52
Version bump
2021-05-06 14:14:13 +02:00
Michiel Borkent
bf6f19dc97
Tasks: don't print context on shell error
2021-05-06 13:58:49 +02:00