* Improve error message when regex literal in EDN config (#1041)
Regex literal syntax (example: #"^foo") is not allowed in EDN. With the
ability to write tasks in the config file, users may mistakenly try to
include regex literals. This patch improves the error message by
informing the user that literal regex syntax is not allowed and
recommends using re-pattern instead.
* Update changelog
* Fixup main.clj
* Fixup changelog
* Store bb.edn in uberjar & load when run from there
* Sync resources deps.edn w/ root
* Throw error if --config arg doesn't exist
...instead of silently falling back on ./bb.edn
* Fix jar file arg parsing
Moving all arg parsing up above bb.edn ingestion made tasks turn into files to load. But this is a chicken-and-egg problem w/ uberjars b/c the bb.edn is inside the jar file, so we need that first. So I extracted the file parsing out into its own fn and put the full arg parsing back where it was after ingesting bb.edn.
* Fix local pod key in error message
* Ensure resources dir exists when copying bb.edn into it
* Copy bb.edn to temp dir when building uberjar
..and add that dir to the classpath for the jar
* Only put :pods in uberjar bb.edn
* Small readability fix
* Add ret val type hints for classpath/resource
Got a reflection warning on one of my calls
* Add a test for uberjars with bb.edn-declared pods
* Only run uberjar-with-pods-test on amd64 for now
* Spire requires proxy support for java.io.PipedInputStream and java.io.PipedOutputStream
* proxy support for java.io.PipedInputStream and java.io.PipedOutputStream
* proxy tests for PipedInputStream and PipedOutputStream
Co-authored-by: Crispin Wellington <retrogradeorbit@gmail.com>
The newer 1.2.12 version is breaking the tests. The older version is not
available in the main download path, however it is still available in
the archive.