Giter Club home page Giter Club logo

boot-resource-filter's Introduction

License: LGPL v3 Boot Clojars Project

boot-resource-filter (WIP)

[schranz/boot-resource-filter "0.1.0-SNAPSHOT"]

A Boot task allowing you to replace tokens in resource files.

TODO: add proper documentation here

How to test and build

  • building: boot pom jar target

Example usages

It is possible to run this task from the command line:

  • boot filter-resources -m ".*\.edn" -r user=mike -r password=secret'

but most likely you will want to run it from within a build.boot

  • TODO add example here

Available options

Options:
  -h, --help                       Print this help info.
  -f, --files REGEX                Conj REGEX onto the set of regular expressions to select files for filtering.
  -n, --no-properties              Do not use system properties to replace tokens.
  -r, --replacements MATCH=RESULT  Conj [MATCH RESULT] onto the replacements map. You can overwrite system properties by adding entries here.

License

Copyright © 2016 Daniel Schranz.

Distributed under the GNU Lesser General Public License v3.

boot-resource-filter's People

Contributors

danielschranz avatar

Watchers

 avatar

boot-resource-filter's Issues

Please show the correct file when processing

At the moment the library print the location of the temporary file:

Processing: /home/ben/.boot/cache/tmp/home/ben/work/repos/wrangler/6mh/6bnhft/config.edn

Not useful. Please improve your shoddy code.

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.