Fork me on GitHub
#luminus
<
2017-10-06
>
dviramontes01:10:07

👋:skin-tone-5: all / has anyone been able to run scss compiler on a luminus app deployed to heroku ?

dviramontes01:10:12

using [lein-sassc "0.10.4"] and this lein prep task :

:prep-tasks ["compile" ["cljsbuild" "once" "min"]
                      ["sassc" "once"]]

dviramontes01:10:05

heroku tries to run it but it fails with Uberjar aborting because jar failed: Cannot run program "sassc": error=2, No such file or directory

yogthos02:10:47

yeah sassc wouldn't be available on heroku, you could build the jar locally, and then check it into git instead of building on heroku

yogthos02:10:06

and you'd need to update your Procfile to just run the jar instead of building

dviramontes05:10:33

ok thanks @U050CBXUZ / found this build pack but it doesnt seem to work https://github.com/djmattyg007/heroku-buildpack-sassc

dviramontes05:10:12

> you could build the jar locally, and then check it into git instead of building on heroku we are doing that^ currently, just wanted to see if there was a way to avoid checking in a site.scss and a site.css

yogthos12:10:30

ah I see, I haven't used heroku too much myself so only have a passing familiarity 🙂