I am trying to build a clojure environment which can run pre-prepared
scripts, using functions from my own library. I've been trying out boot
and it's nice. I can do things like so:
#!/usr/bin/env boot
(set-env! :dependencies '[[uk.org.russet/tawny-owl "2.0.0-SNAPSHOT"]])
(use 'tawny.owl)
(defontology o)
(defclass C)
(save-ontology "ontology-and-class.omn")
For simple uses, this is fine, but it has quite a lot of boilerplate at
the beginning. So, I'd like to replace this.
I thought about having a script like so:
boot --file init.clj --file $*
where "init.clj" would contain my additinal material, but unfortunately,
boot doesn't accept multiple "--file" options.
What I really want to do is to produce an executable like boot but with
my additional functionality added in. Am I missing something obvious
here?
Phil
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
---
You received this message because you are subscribed to the Google Groups
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.