roma0104 / gsd5

A Getting-Things-Done tools for the TiddlyWiki5 environment.
MIT License
59 stars 22 forks source link

Provide Windows Build Scripts #47

Open roma0104 opened 9 years ago

roma0104 commented 9 years ago

I know absolutely nothing about creating Window bat/cmd files. If anyone can do it that would be great but probably will remain a low priority task. Otherwise run using MinGW and MSYS. http://www.mingw.org/wiki/msys

danielo515 commented 9 years ago

Maybe if you provide me with some requirements I can take a look. I have a couple of scripts that works for me and maybe they could work for you

roma0104 commented 9 years ago

@danielo515

Hi Daniel, thanks for taking a look at this. If you hadn't noticed, Simon had added a commit that I think organises the repo better and eliminates the risk of cross-project contamination. So now the GSD5 project directory sits alongside the TW5 directory and the build scripts bridge the two directories.

Not knowing a lot about Windows as a development platform, I would say as long as the script will run on Vista and up, and run on Powershell or the Command Prompt. Additionally, the user should be able to call the needed script in ./gsd5/bin and have it export any created files to ./gsd5/output without any intervention.

In case you don't have any experience with Bash scripts, Simon's script simply sets up two important environmental variables: the absolute path to the current/working directory (./gsd5), and a relative path to TiddlyWiki5 from the working directory (./gsd5/../TiddlyWiki5). It then switch directories to TW5 calls node and ../TiddlyWiki5/tiddlywiki.js, piping in the gsd5 edition and finally exporting the results back to the working directory.

Exact details of the implementation I will leave to you.

tobibeer commented 8 years ago

@danielo515, had a chance yet to look into porting the build-scripts? Would also be a neat learning experience for me.