From f05846368592875fc3facc37593e9c8266c1cf52 Mon Sep 17 00:00:00 2001 From: Michiel Borkent Date: Thu, 15 Jul 2021 10:36:07 +0200 Subject: [PATCH] Thanks @justone for the better name [skip ci] --- src/{a1.clj => aaaa_this_has_to_be_first_because_patches.clj} | 2 +- src/babashka/main.clj | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) rename src/{a1.clj => aaaa_this_has_to_be_first_because_patches.clj} (72%) diff --git a/src/a1.clj b/src/aaaa_this_has_to_be_first_because_patches.clj similarity index 72% rename from src/a1.clj rename to src/aaaa_this_has_to_be_first_because_patches.clj index 2bc7d3c4..9dbccb60 100644 --- a/src/a1.clj +++ b/src/aaaa_this_has_to_be_first_because_patches.clj @@ -1,3 +1,3 @@ -(ns a1 +(ns aaaa-this-has-to-be-first-because-patches ;; we need pprint loaded first, it patches pprint to not bloat the GraalVM binary (:require [babashka.impl.pprint])) diff --git a/src/babashka/main.clj b/src/babashka/main.clj index 0bbed42f..1f4e0716 100644 --- a/src/babashka/main.clj +++ b/src/babashka/main.clj @@ -2,9 +2,7 @@ {:no-doc true} (:refer-clojure :exclude [error-handler]) (:require - ;; we name this ns a01 to always have it on top and sorting won't mess with it - ;; it loads patches - [a1] + [aaaa-this-has-to-be-first-because-patches] [babashka.fs :as fs] [babashka.impl.bencode :refer [bencode-namespace]] [babashka.impl.cheshire :refer [cheshire-core-namespace]]