Skip to content

Repository files navigation

CodeManifest

Simple manifest to fetch file by globs and generate digest.

Installation

Install the gem and add to the application's Gemfile by executing:

$ bundle add code_manifest

If bundler is not being used to manage dependencies, install the gem by executing:

$ gem install code_manifest

Usage

Put a .code_manifest.yml config file under your project root, for example:

ruby:
- app/**/*.rbjs:
- frontend/**/*.js

Then use it with:

require'code_manifest'# Returns an `Array` of filepathsCodeManifest[:ruby].filesCodeManifest[:js].files# Returns a digest based on all files specified under same namespaceCodeManifest[:ruby].digestCodeManifest[:js].digest

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/rubyatscale/code_manifest.

About

No description, website, or topics provided.

Resources

Stars

5 stars

Watchers

3 watching

Forks

Releases

Packages

Used by

Contributors

Languages