{"id":21767220,"url":"https://github.com/michaelworm/copydir","last_synced_at":"2025-03-21T05:28:42.624Z","repository":{"id":62556254,"uuid":"9749050","full_name":"michaelworm/copyDir","owner":"michaelworm","description":"A Compass Extension to copy one or more folders to one or more different locations.","archived":false,"fork":false,"pushed_at":"2013-05-17T14:49:06.000Z","size":108,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-03-15T11:53:16.986Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/michaelworm.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-04-29T13:46:31.000Z","updated_at":"2016-06-23T08:39:43.000Z","dependencies_parsed_at":"2022-11-03T05:45:43.854Z","dependency_job_id":null,"html_url":"https://github.com/michaelworm/copyDir","commit_stats":null,"previous_names":["miw0/copydir"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michaelworm%2FcopyDir","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michaelworm%2FcopyDir/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michaelworm%2FcopyDir/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michaelworm%2FcopyDir/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/michaelworm","download_url":"https://codeload.github.com/michaelworm/copyDir/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244744776,"owners_count":20502976,"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-26T13:23:07.858Z","updated_at":"2025-03-21T05:28:42.601Z","avatar_url":"https://github.com/michaelworm.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Welcome to copyDir\r\n\r\ncopyDir is a simple ruby script for compass to copy one or more folders to one or more different locations.\r\n\r\n# How to install?\r\n\r\n1. Install [Compass](http://compass-style.org/)\u003cbr /\u003e\r\n   `$ gem update --system`\u003cbr /\u003e\r\n   `$ gem install compass`\r\n2. Install copyDir\u003cbr /\u003e\r\n   `$ gem install copyDir`\r\n3. Require it in your config.rb\u003cbr /\u003e\r\n   `require 'copyDir'`\u003cbr /\u003e\r\n4. That's it!\r\n\r\n# How to use it?\r\n\r\nOpen up your __config.rb__, call copyDir and start watching your project with Compass!\r\n\r\n```ruby\r\nCopyDir.new([images_dir, javascripts_dir], [\"path/to/folder1\", \"path/to/folder2\"])\r\n```\r\n\r\n__An example config.rb file would look like the following:__\r\n\r\n```ruby\r\n# Require any additional compass plugins here.\r\n\r\n# Set this to the root of your project when deployed:\r\nhttp_path = \"/\"\r\ncss_dir = \"stylesheets\"\r\nsass_dir = \"sass\"\r\nimages_dir = \"images\"\r\njavascripts_dir = \"javascripts\"\r\n\r\n# You can select your preferred output style here (can be overridden via the command line):\r\n# output_style = :expanded or :nested or :compact or :compressed\r\n\r\n# To enable relative paths to assets via compass helper functions. Uncomment:\r\n# relative_assets = true\r\n\r\n# To disable debugging comments that display the original location of your selectors. Uncomment:\r\n# line_comments = false\r\n\r\n\r\n# If you prefer the indented syntax, you might want to regenerate this\r\n# project again passing --syntax sass, or you can uncomment this:\r\n# preferred_syntax = :sass\r\n# and then run:\r\n# sass-convert -R --from scss --to sass sass scss \u0026\u0026 rm -rf sass \u0026\u0026 mv scss sass\r\n\r\n# copyDir\r\nrequire 'copyDir'\r\n\r\nCopyDir.new([images_dir, javascripts_dir], [\"path/to/folder1\", \"path/to/folder2\"])\r\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmichaelworm%2Fcopydir","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmichaelworm%2Fcopydir","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmichaelworm%2Fcopydir/lists"}