{"id":18492193,"url":"https://github.com/makevoid/guard-concat","last_synced_at":"2025-04-08T21:31:11.704Z","repository":{"id":6504705,"uuid":"7745269","full_name":"makevoid/guard-concat","owner":"makevoid","description":"This little guard plugin allows you to concatenate js/css (or other) files in one.","archived":false,"fork":false,"pushed_at":"2015-11-16T01:10:09.000Z","size":194,"stargazers_count":12,"open_issues_count":2,"forks_count":6,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-23T18:37:38.928Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/makevoid.png","metadata":{"files":{"readme":"Readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-01-22T03:17:47.000Z","updated_at":"2017-03-08T01:08:58.000Z","dependencies_parsed_at":"2022-09-13T18:13:31.142Z","dependency_job_id":null,"html_url":"https://github.com/makevoid/guard-concat","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/makevoid%2Fguard-concat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/makevoid%2Fguard-concat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/makevoid%2Fguard-concat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/makevoid%2Fguard-concat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/makevoid","download_url":"https://codeload.github.com/makevoid/guard-concat/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247931252,"owners_count":21020201,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-06T13:06:30.664Z","updated_at":"2025-04-08T21:31:06.695Z","avatar_url":"https://github.com/makevoid.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Guard::Concat\n\nThis little guard allows you to concatenate js/css (or other) files in one.\n\n\n## Install\n\nMake sure you have [guard](http://github.com/guard/guard) installed.\n\nInstall the gem with:\n\n    gem install guard-concat\n\nOr add it to your Gemfile:\n\n    gem 'guard-concat'\n\nAnd then add a basic setup to your Guardfile:\n\n    guard init concat\n\n\n## Usage\n\n\n``` ruby\n# This will concatenate the javascript files a.js and b.js in public/js to all.js\nguard :concat, type: \"js\", files: %w(b a), input_dir: \"public/js\", output: \"public/js/all\"\n\n# analog css example\nguard :concat, type: \"css\", files: %w(c d), input_dir: \"public/css\", output: \"public/css/all\"\n\n# js example with *\n\nguard :concat, type: \"js\", files: %w(vendor/* b a), input_dir: \"public/js\", output: \"public/js/all\"\n# will concatenate all files in the vendor dir, then b then a (watch out of dependencies)\n```\n\nAdvanced usage:\n\n``` ruby\n# this is a recommended file structure when using *\n# plugins usually need libraries so put libraries like jquery in the libs directory, then your jquery (or another library) plugin(s) in the plugins dir and at the end your main file(s)\nguard :concat, type: \"js\", files: %w(libs/* plugins/* main), input_dir: \"public/js\", output: \"public/js/all\"\n```\n\nit's not possible to use * or ./* alone, you have to use * after a directory name, like this: `dir/*`\n\n## Versions changelog\n- 0.8.1 - fix guard runtime dependency correctly (with ~\u003e)\n- 0.8.0 - add debug messages, add support for newer guard, add all_on_start option [yanked from rubygems in favour of 0.8.1]\n- 0.0.4 - add star (*) support to load multiple files\n- 0.0.3 - basic version\n\n## Contributors\n\n- [@ezekg](https://github.com/ezekg)\n- [@mikz](https://github.com/mikz)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmakevoid%2Fguard-concat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmakevoid%2Fguard-concat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmakevoid%2Fguard-concat/lists"}