From eff627c010de8fb768c09dd3c2dc671df0e5b549 Mon Sep 17 00:00:00 2001 From: yqrashawn Date: Wed, 16 Oct 2024 11:34:05 +0800 Subject: [PATCH] refactor: remove make local --- Makefile | 4 ---- Makefile.local.example | 26 -------------------------- 2 files changed, 30 deletions(-) delete mode 100644 Makefile.local.example diff --git a/Makefile b/Makefile index 04fbb7c..e0ad19e 100644 --- a/Makefile +++ b/Makefile @@ -18,7 +18,3 @@ test-binary: cp ./resources/configurations/edn/yqrashawn.edn ~/.config/karabiner.edn cp ./resources/configurations/json/empty-karabiner.json ~/.config/karabiner/karabiner.json ./goku -local: - make -f Makefile.local -local-bin: - make -f Makefile.local bin diff --git a/Makefile.local.example b/Makefile.local.example deleted file mode 100644 index eae6f49..0000000 --- a/Makefile.local.example +++ /dev/null @@ -1,26 +0,0 @@ -# -*- mode: makefile -*- - -MAKE=make -f Makefile.local -# change below path to graalvm native-image binary file -GRAALVM=/path/to/graalvm-ce-xxxxx-xxx/Contents/Home/bin/native-image -GRAALVM_ARG=-H:+ReportUnsupportedElementsAtRuntime --no-server -J-Dclojure.compiler.elide-meta=[:doc :file :line :added] -J-Dclojure.spec.skip-macros=true -Djdk.internal.lambda.eagerlyInitialize=false -JAR_NAME=karabiner-configurator-0.1.0-standalone -TARGET_JAR=target/$(JAR_NAME).jar -all: - $(MAKE) clean - $(MAKE) compile - $(MAKE) bin -clean: - lein clean -compile: - lein test - lein compile - export LEIN_SNAPSHOTS_IN_RELEASE=override && lein uberjar -bin: - $(GRAALVM) $(GRAALVM_ARG) -jar $(TARGET_JAR) - mv $(JAR_NAME) goku - chmod +x goku -test-binary: - # mkdir -p ~/.config/ - # cp ./resources/configurations/yqrashawn.edn ~/.config/karabiner.edn - ./goku