This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (require 'boot.pod 'boot.repl) | |
| (boot.pod/add-dependencies | |
| (assoc-in (boot.core/get-env) | |
| [:dependencies] '[[cider/cider-nrepl "RELEASE"]])) | |
| (swap! boot.repl/*default-middleware* conj 'cider.nrepl/cider-middleware) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| CREATE EXTENSION IF NOT EXISTS "uuid-ossp"; | |
| DROP TABLE IF EXISTS owner CASCADE; | |
| DROP TABLE IF EXISTS pet_breed CASCADE; | |
| DROP TABLE IF EXISTS breed; | |
| DROP TABLE IF EXISTS pet; | |
| CREATE TABLE owner ( | |
| id SERIAL PRIMARY KEY, | |
| name varchar(20), |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (require 'boot.repl) | |
| (swap! boot.repl/*default-dependencies* conj '[cider/cider-nrepl "0.7.0"]) | |
| (swap! boot.repl/*default-middleware* conj 'cider.nrepl/cider-middleware) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| " Plugins {{{ | |
| " required by vundle {{{ | |
| set nocompatible | |
| filetype off | |
| set rtp+=~/.vim/bundle/Vundle.vim | |
| call vundle#begin() | |
| Plugin 'gmarik/Vundle.vim' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (ns boot.tmpdir | |
| (:require | |
| [clojure.java.io :as io] | |
| [clojure.set :as set] | |
| [boot.file :as file])) | |
| (defprotocol ITmpFile | |
| (dir [this]) | |
| (path [this]) | |
| (file [this])) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (ns boot.tmpdir | |
| (:require | |
| [clojure.java.io :as io] | |
| [clojure.set :as set] | |
| [boot.util :as util] | |
| [boot.file :as file] | |
| [boot.from.digest :as digest])) | |
| (defprotocol ITmpFile | |
| (id [this]) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (set-env! | |
| :resource-paths #{"src"} | |
| :dependencies '[[tailrecursion/warp "0.1.0"]]) | |
| (require | |
| '[clojure.java.io :as io]) | |
| (deftask mytask | |
| "My demo task." |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (set-env! | |
| :resource-paths #{"src"} | |
| :dependencies '[[tailrecursion/warp "0.1.0"]]) | |
| (require | |
| '[clojure.java.io :as io]) | |
| (deftask mytask | |
| "My demo task." |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (ns pandeiro.http | |
| {:boot/export-tasks true} | |
| (:require | |
| [boot.pod :as pod] | |
| [boot.util :as util] | |
| [boot.core :as core] | |
| [boot.task.built-in :as task])) | |
| (core/deftask serve | |
| "Start a web server on localhost and serve a directory. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (set-env! | |
| :src-paths #{"src" "test"} | |
| :rsc-paths #{"resources"} | |
| :dependencies '[[adzerk/boot-cljs "0.0-2371-25"] | |
| [adzerk/boot-cljs-repl "0.1.6"] | |
| [adzerk/boot-reload "0.1.6"] | |
| [org.clojure/core.async "0.1.346.0-17112a-alpha"] | |
| [environ "1.0.0"] | |
| [cljs-http "0.1.20"]]) |