-
Notifications
You must be signed in to change notification settings - Fork 90
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
Using dploy with preprocessors #72
Comments
What about some deploy repository or branch where you would track a builded project state? |
That is not a viable solution. Let's imagine I have a builded state branch, whenever I want to catchup from master I'll need to rebase it, and I can't have 2 different |
@toborrow @enzy at the moment you cannot do that, because if a file is not being tracked by git, there's no way to tell if a file has changed or not. So you have to use the "include" option. map:
"source/coffee/*.coffee": "release/js/app.js"
"source/template/*.jade": "release/js/app.js"
"source/stylus/*.styl": "release/css/app.css" So this way, if you change any of your Coffee or Jade files, we upload the app.js. And if you change any of your Stylus files, we upload the app.css. Does that makes sense? Would you need more options to the mapping maybe, like setting the remote path for your mapped file (similar to the include option)? Well, let me know your thought on this! But I'm excited with this suggestion :) |
Hey! Glad you like the idea! Really! General ideaThe Mapping idea seems good, but the user should be warned to first compile the corresponding source files, otherwise if we admit that the source changed, has been committed, but didn't go through a compilation process, then the files would be uploaded "as is" and there is no guarantee that the files sent over the server are actually corresponding to the To workaround this "side effect", I would suggest to also add an option when using About file pathI would like to know if it is possible to upload only one file, among many in the same folder, but using the
What would be nice, is that I set something like: map:
"javascript/**/*.coffee": "javascript/dist/**/*.js"
"index.jade": "index.html" And then, that Dploy would upload any corresponding file that has been modified since What do you think? Is that possible? Does it seem user-friendly? I would definitely use deploy more often! |
Hey @habovh and @enzy – I'm happy to say that the new DPLOY will support this feature! If you want to give it a try on the beta, use this branch then: |
That's really great! I'll definitely try it later today! |
How does this work with, let's say, a Jekyll site? Basically where everything would need to be mapped to a
But not really sure if there's a simpler way of doing this without listing out each type of file |
Map feature looks great. I have only one question @lucasmotta You asked here: #72 (comment) "Does that makes sense? Would you need more options to the mapping maybe, like setting the remote path for your mapped file (similar to the include option)?" Is this feature implemented within map? Thanks |
Hi, I really like dploy, but I have one question.
If I work with preprocessors like SASS/SCSS, Compass, CoffeeScript, Jade, etc, how am I supposed to deploy a website while the output of these tools is not pushed to the git repository?
It would be nice to have some kind of "map" that can track GIT source files to output files, so they can be uploaded if their corresponding source file has been updated in GIT. The current workaround I am using is the "include" directive, but it is pretty straight-forward, and not really efficient for this case...
The text was updated successfully, but these errors were encountered: