This repository has been archived by the owner on Nov 27, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 107
Installing on Windows
laktek edited this page Jun 6, 2012
·
1 revision
There are some small obstacles in the way of running punch
on windows, here is some basic instructions on how to get it working.
- Install GIT for windows.
If you select the option Run Git and included Unix tools from the Windows Command Prompt you will be able to run
punch
fromcmd
, but it may not be worth the mess. Any of the options will do for this guide. - Install node.js (if you do not already have it)
- Open up a git bash-window and navigate to your project folder and run:
npm install punch
- Then you should be able to run
punch
through:
node node_modules\punch\bin\punch
Should be mostly the same as local, but using the -g
switch with npm
.
I will write better instructions here after some testing.
Problem: npm
does not handle git://
urls from cmd.exe
Solution: Install in bash, works with git-bash
Problem: Copying of files are hard-coded in the source to use cp
which is a *NIX-command, and further using copy
instead of cp
(through adding a cp.cmd
that redirects to copy or editing the source) will not work either as the paths are hard-coded with forward-slashes which copy
does not handle well.
Solution: Using mingw32-cp, like the one installed with msys-git