Provide rake tasks to make it easier to manage the blog#42
Provide rake tasks to make it easier to manage the blog#42ScottIsAFool merged 1 commit intoOpenLiveWriter:masterfrom hashhar:rake-tasks
Conversation
|
So how do you run that? |
|
I haven't finished it yet. Will let everyone know when its ready. |
|
If this isn't finished, why is it a pull request? |
|
I have implemented 4 tasks now. Test them out. The Test them out. |
|
You can also request any new tasks if you want @kathweaver. NOTE: Before testing, make a copy of the repository somewhere since it deals with writing files onto the filesystem so there is a possibility of it overwriting something. (Highly unlikely but still) |
|
Has anybody tested this out so far? |
|
@hashhar If you can write up a short tutorial in a comment on this PR, @kathweaver will be able to test the rakefile. |
|
There are the following tasks available.
|
|
So I still understand when and how the rake is done? |
|
You can simply type |
|
I've downloaded your branch, put it on my computer, went to the directory that the branch is in and typed in rake generate rake preview What am I missing? |
|
@kathweaver My bad. You have to run |
|
bundle install gives me not recognized error |
|
Okay, I've done and still get the same error |
|
Hmmm. I'll look into that. In the meantime try installing http://rubyinstaller.org/downloads/ Run |
|
I have Ruby on my machine --still getting the same thing. |
|
No, that's the dev kit I pasted the link to. Bundle needs the dev kit to work. |
|
I already have that installed. Everything runs but the rake -- it's expected stringex |
|
Hmm. Oh, I get it now. Run |
|
That did the trick. Thanks! Now I have to remember how to pull the branch :-) |
|
Testing now! |
|
Everything looks good but: rake new_release[0.7,kathweaver,html] I get a title Open Live Writer #version is now available! and an address of http://127.0.0.1:4000/news/release/2016/02/21/open-live-writer-number-version-is-now-available.html |
|
Better, but I ran: rake new_release[0.70.kathweaver,html] and got: Version 0.6 Now Available 13 Feb 2016 hashhar |
|
@kathweaver Try again. You might be seeing that 0.6 because it was already there. Try again and run |
|
It's working as expected now. Not sure what was going on this morning. |
- Add new blog post. - Add new news post. - Add new release notes post. Completely configurable.


This pull is a WIP. It will allow people to run commands like: