From 2ef31f3e0872989b266673a9b1a5a965661cf060 Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Mon, 11 Apr 2016 18:03:34 +0300 Subject: [PATCH] Improve initial compilation and add worker compilation to dist. --- package.json | 2 +- scripts/dist | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index e0a0f18ca..c0520df67 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,7 @@ "watch": "gulp", "dist": "gulp clean && ./scripts/dist && gulp dist", "clean": "gulp clean", - "figwheel": "./scripts/figwheel", + "figwheel": "./scripts/build-worker && ./scripts/figwheel", "test-watch": "./scripts/watch", "test-build": "./scripts/build" }, diff --git a/scripts/dist b/scripts/dist index 3b937ba65..582243b85 100755 --- a/scripts/dist +++ b/scripts/dist @@ -1,2 +1,3 @@ #!/bin/sh +lein trampoline run -m clojure.main scripts/build-worker.clj lein trampoline run -m clojure.main scripts/dist.clj