-
-
Notifications
You must be signed in to change notification settings - Fork 180
Keeping Boot Up to Date
Boot consists of two parts: the boot.sh
or boot.exe
executable and the core libraries. The executable is a minimal shell whose purpose is to bootstrap the Maven client which then loads the core libraries from a Maven repository. The executable should be very stable and should not need to be updated (and if an advisory to that effect were to be made, it would be eerily similar to the Boot installation instructions).
To see which version of boot you're running:
$ boot -V
#http://boot-clj.com
#Wed Aug 10 23:06:24 EDT 2016
BOOT_CLOJURE_NAME=org.clojure/clojure
BOOT_CLOJURE_VERSION=1.8.0
BOOT_VERSION=2.6.0
The output of this command will tell you which version of the core libraries boot is currently using, and which version of Clojure.
You can have boot fetch and use the latest release version of the core libraries:
$ boot -u
#http://boot-clj.com
#Wed Aug 10 23:06:24 EDT 2016
BOOT_CLOJURE_NAME=org.clojure/clojure
BOOT_CLOJURE_VERSION=1.8.0
BOOT_VERSION=2.6.0
or you can go with the latest (unstable) snapshot version:
$ boot -U
#http://boot-clj.com
#Wed Aug 10 23:06:24 EDT 2016
BOOT_CLOJURE_NAME=org.clojure/clojure
BOOT_CLOJURE_VERSION=1.8.0
BOOT_VERSION=2.7.0-SNAPSHOT
You can use environment variables to control which version of core libraries and/or Clojure boot uses:
$ BOOT_VERSION=2.6.0 BOOT_CLOJURE_VERSION=1.8.0 boot my-task other-task
or you can edit your $BOOT_HOME/boot.properties
file ($BOOT_HOME
is ~/.boot
by default).
You can also specify which version of the core libraries and Clojure boot will use when you build a
specific project by creating a boot.properties
file in the project directory. To pin the project to the current versions:
$ boot -V > boot.properties
You can find other developers and users in the #hoplon
channel on freenode IRC or the boot slack channel.
If you have questions or need help, please visit the Discourse site.
- Environments
- Boot environment
- Java environment
- Tasks
- Built-ins
- Third-party
- Tasks Options
- Filesets
- Target Directory
- Pods
- Boot Exceptions
- Configuring Boot
- Updating Boot
- Setting Clojure version
- JVM Options
- S3 Repositories
- Scripts
- Task Writer's Guide
- Require inside Tasks
- Boot for Leiningen Users
- Boot in Leiningen Projects
- Repl reloading
- Repository Credentials and Deploying
- Snippets
- Troubleshooting
- FAQ
- API docs
- Core
- Pod
- Util