Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include files from "extra-files" folder #3

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

rmzelle
Copy link
Member

@rmzelle rmzelle commented Jul 16, 2017

(DON’T MERGE)

@dstillman, we got a request to include a “composer.json” file to the CSL styles repo, for the PHP dependency manager Composer. We thought it made most sense to put it in “styles-distribution”, and I thought we could have the distribution-updater add the file.

The distribution-updater script currently contains an embedded README, so I changed the script to copy over any files within the “extra-files” directory, which will later include the README and this composer.json file.

scripts/styles_distribution.py works right now, but this PR currently breaks scripts/webapp.py. I wasn’t sure what the right way was to define the path to the “extra-files” directory (EXTRA_FILES_DIRECTORY) so it works in both scripts, so I was hoping you could give me a pointer for that. I noticed that styles_distribution.py didn’t use any relative paths to the script itself, and I wasn’t sure if there was a reason for that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant