juxt

richiardiandrea 2018-12-12T21:34:50.002Z

hello folks! I am trying pack but I get a very weird error with skinny:

clojure -A:pack -m mach.pack.alpha.skinny --no-libs -e "extra" --project-path "scrutinizer.jar"
Exception in thread "main" java.lang.IllegalArgumentException: No matching clause: 
	at mach.pack.alpha.skinny$write_libs.invokeStatic(skinny.clj:58)
	at mach.pack.alpha.skinny$write_libs.invoke(skinny.clj:44)
	at mach.pack.alpha.skinny$write_all.invokeStatic(skinny.clj:88)
	at mach.pack.alpha.skinny$write_all.invoke(skinny.clj:85)
	at mach.pack.alpha.skinny$_main.invokeStatic(skinny.clj:141)
	at mach.pack.alpha.skinny$_main.doInvoke(skinny.clj:124)
	at clojure.lang.RestFn.applyTo(RestFn.java:137)
	at clojure.lang.Var.applyTo(Var.java:705)
	at clojure.core$apply.invokeStatic(core.clj:665)
	at clojure.main$main_opt.invokeStatic(main.clj:491)
	at clojure.main$main_opt.invoke(main.clj:487)
	at clojure.main$main.invokeStatic(main.clj:598)
	at clojure.main$main.doInvoke(main.clj:561)
	at clojure.lang.RestFn.applyTo(RestFn.java:137)
	at clojure.lang.Var.applyTo(Var.java:705)
	at clojure.main.main(main.java:37)
Makefile:40: recipe for target 'scrutinizer.jar' failed

richiardiandrea 2018-12-12T21:57:39.002200Z

Ok I think I found the problem: https://github.com/juxt/pack.alpha/pull/29

dominicm 2018-12-12T22:34:20.002700Z

Thanks for catching this. Refactoring is hard!