Hello,

I'm trying now already for hours to get somehow Heroku to accept a simple 
bin/build script with "lein deps" inside. 
I've got a simple app (just noir test actually) and would like to prevent 
AOT compiling (for my real app, which uses core.match), but whatever I do 
Heroku simply doesn't seam to care.
Actually it can't be that difficult and guess I checked during the last 
hours all kinds of mistakes I could have made.

So just for the record what I did/checked:
In order to let Herokus bin/compile (from the buildpack) use a custom 
BUILD_COMMAND I should just add to my repository a directory named "bin" 
and inside a file named "build" containing the commands to be executed. 
That file should be executable.
I'm trying to do this from Win7, the "build" file is executable, I checked 
this via heroku run bash etc. but, it never gets to select the 
bin/compile-scripts path to set BUILD_COMMAND to the my "build" file. At 
some point I thought that maybe BUILD_COMMAND is magically set already, so 
the bin/compile-script will never attempt to set BUILD_COMMAND, but it's 
not set and setting it manually via "heroku config:add BUILD_COMMAND="lein 
deps"" doesn't help either. My last hope went away when I tried to clone 
the Heroku repository into a fresh local directory and found that my pushed 
"build" file was actually not executable (even though at the server it 
seamed so) and I tried to push it back with the executable bit set. But 
again nothing happend and the only thing left to try would be to do the 
same stuff from a Linux machine, in case it's Win7, but I don't want to 
believe that's true.

Might I have overlooked something? Has anybody an idea what I'm missing? 
:-| 

I just wanna go on with my stuff and not remove core.match code just, to be 
able to deploy to Heroku.

Any hints or help is very much appreciated.

Cheers

Michael


-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to