Initial commit: two Clojure Android todo apps
Side-by-side comparison of viable Clojure-on-Android approaches: - todo-expo/: ClojureScript + shadow-cljs + Expo + Reagent + re-frame - todo-flutter/: ClojureDart + Flutter Both apps feature: add/remove/check-off todos, SQLite persistence, categories, priorities, edit support, swipe-to-delete, filtering. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# If the OS is MacOS, install Java so that the shadow-cljs build succeeds
|
||||
if [[ $OSTYPE == "darwin"* ]]; then
|
||||
brew install openjdk@11
|
||||
sudo ln -sfn /opt/homebrew/opt/openjdk@11/libexec/openjdk.jdk /Library/Java/JavaVirtualMachines/openjdk-11.jdk || { echo 'Homebrew JDK 11 not found?' ; exit 1; }
|
||||
echo 'export PATH="/opt/homebrew/opt/openjdk@11/bin:$PATH"' >>~/.zshrc
|
||||
export CPPFLAGS="-I/opt/homebrew/opt/openjdk@11/include"
|
||||
fi
|
||||
Reference in New Issue
Block a user