Giter VIP home page Giter VIP logo

boot-s3's People

Contributors

bhagany avatar martinklepsch avatar podviaznikov avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

boot-s3's Issues

Allow syncing from fileset

The task currently syncs from target dir so when I do something like boot build deploy the syncing to target/ is done after the deploy task and there's no difference. Only a second invocation of the sync task will actually pickup the changes.

:source should be relative to :target-dir

Currently if I want to upload target/public I need to supply target/public as :source. I think the more idiomatic boot-way would be to do something like (str (get-env :target-dir) (:source opts)).

Will create a PR.

Specifying other than "resources" directory to push

I am trying to push files from target directory, no resources. But I get always an issue

There are no local changes to push.

How to set other than resources directory for pushing? The built.boot file is as following:

(def project 's3-test-adam2)
(def version "0.1.0-SNAPSHOT")

(set-env! :resource-paths #{"resources"}
          :source-paths #{"src"}
	  :target-path #{"target"}
          :dependencies   '[[org.clojure/clojure "RELEASE"]
			    [hashobject/boot-s3 "0.1.3-SNAPSHOT"]])
(require '[hashobject.boot-s3 :refer :all])
(task-options!
  s3-sync {:bucket "ireland.adam"
           :access-key (System/getenv "AWS_ACCESS_KEY")
           :secret-key (System/getenv "AWS_SECRET_KEY")
           :source "public"})

eu-west2

Unsure if this is boot-s3, or confetti, but I get this exception:

clojure.lang.ExceptionInfo: java.lang.IllegalArgumentException: Cannot create enum from eu-west-2 value!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.