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>
10 lines
456 B
Bash
10 lines
456 B
Bash
#!/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
|