Skip to content

Instantly share code, notes, and snippets.

@selfsame
Created May 17, 2016 19:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save selfsame/35e0434964454a045b21df7d6ffa4b78 to your computer and use it in GitHub Desktop.
Save selfsame/35e0434964454a045b21df7d6ffa4b78 to your computer and use it in GitHub Desktop.
(defproject final "0.1.0-SNAPSHOT"
:description "pro design tool for html/css"
:url "https://github.com/selfsame/final"
:dependencies [[org.clojure/clojure "1.8.0" :scope "provided"]
[org.clojure/clojurescript "1.8.51" :scope "provided"]
[org.clojure/core.async "0.2.374"]
[com.cognitect/transit-cljs "0.8.237"]
[org.omcljs/om "1.0.0-alpha35"]
[reagent "0.6.0-alpha2" :exclusions [cljsjs/react]]
[thi.ng/color "1.0.1"]
[selfsame/hyper "0.3.0-SNAPSHOT"]
[selfsame/pdfn "1.0.1-SNAPSHOT"]
[selfsame/dollar "0.0.9-SNAPSHOT"]]
:plugins [[lein-cljsbuild "1.1.2"][lein-figwheel "0.5.3-1"]]
:source-paths ["src"]
:clean-targets ^{:protect false} ["resources/public/js/out" "target"]
:cljsbuild {:builds [
{ :id "dev"
:source-paths ["src"]
:compiler {
:main "fp.core"
:asset-path "js/out"
:output-to "resources/public/main.js"
:output-dir "resources/public/js/out"
:parallel-build true
:optimizations :none
:pretty-print false}}
{ :id "prod"
:source-paths ["src"]
:compiler {
:main "fp.core"
:asset-path "js/out"
:output-to "production/main.js"
:output-dir "production/js/out"
:optimizations :none
:pretty-print false}}]}
:figwheel {:server-port 3449
:css-dirs ["resources/public/css"]})
@selfsame
Copy link
Author

selfsame commented May 17, 2016

Figwheel: Validating the configuration found in project.clj

Figwheel: Configuration Valid. Starting Figwheel ...
Figwheel: Starting server at http://localhost:3449
Figwheel: Watching build - dev
�[0mCompiling "resources/public/main.js" from ["src"]...
�[32mSuccessfully compiled "resources/public/main.js" in 1.606 seconds.�[0m
Figwheel: Starting CSS Watcher for paths  ["resources/public/css"]
Launching ClojureScript REPL for build: dev
Figwheel Controls:
          (stop-autobuild)                ;; stops Figwheel autobuilder
          (start-autobuild [id ...])      ;; starts autobuilder focused on optional ids
          (switch-to-build id ...)        ;; switches autobuilder to different build
          (reset-autobuild)               ;; stops, cleans, and starts autobuilder
          (reload-config)                 ;; reloads build config and resets autobuild
          (build-once [id ...])           ;; builds source one time
          (clean-builds [id ..])          ;; deletes compiled cljs target files
          (print-config [id ...])         ;; prints out build configurations
          (fig-status)                    ;; displays current state of system
  Switch REPL build focus:
          :cljs/quit                      ;; allows you to switch REPL to another build
    Docs: (doc function-name-here)
    Exit: Control+C or :cljs/quit
 Results: Stored in vars *1, *2, *3, *e holds last exception object
Prompt will show when Figwheel connects to your application

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment