Skip to content

Keep all public assets in a single folder #2

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

Open
indcoder opened this issue Oct 24, 2016 · 0 comments
Open

Keep all public assets in a single folder #2

indcoder opened this issue Oct 24, 2016 · 0 comments

Comments

@indcoder
Copy link

Looking at the code we can put all public asset under a single folder so that moving around folders can be accomplished by a single command.

Presently multiple commands have to be executed in the build phase to work with individual folders. This all can reduced to a single mkdir and cp command.

mkdir -p release/$ZIPNAME/fonts
cp fonts/* release/$ZIPNAME/fonts
mkdir -p release/$ZIPNAME/img
cp img/*.jpg release/$ZIPNAME/img/
mkdir -p release/$ZIPNAME/diagrams
cp diagrams/*.svg release/$ZIPNAME/diagrams/
mkdir -p release/$ZIPNAME/js
cp js/* release/$ZIPNAME/js/
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

No branches or pull requests

1 participant