run.sh 239 B

12345678
  1. #!/bin/bash
  2. cd $(dirname $0)
  3. # if threadx repo does not exist, clone it
  4. [ -d threadx ] || git clone https://github.com/eclipse-threadx/threadx.git --depth 1
  5. [ -f .run.sh ] || ln -sf threadx/scripts/cmake_bootstrap.sh .run.sh
  6. ./.run.sh $*