Commit graph

89 commits

Author SHA1 Message Date
Nathan Rajlich
f451c0fab9 remove mkdirp wrapper 2012-06-06 21:35:25 -07:00
Nathan Rajlich
47de81f963 initial take at using 'npmlog' for logging
* adds a '--loglevel' switch to node-gyp which accepts the same values as npm
 * now the '--verbose' flag is simply an alias to '--loglevel=verbose'
 * this simplifies the code a bit, since any logging logic is now removed
 * more log levels! it's mostly verbose() and info() being used
   * still need to go back and move some of logging calls to a better level
2012-06-06 18:01:08 -07:00
Nathan Rajlich
abdc9f728c don't check for "version" during "build" 2012-05-14 17:06:29 -07:00
Jeroen Janssen
84d2418973 add support for --nodedir option 2012-05-10 20:24:38 +02:00
Aaron Bieber
ca8cb2969f build: add check for gmake
There's probably a better way to handle this, but it's probably ok for now...

Closes #57.
2012-05-09 13:06:48 -07:00
Nathan Rajlich
aae45396ec remove the hook stuff 2012-04-08 15:47:53 -07:00
Nathan Rajlich
f1082e5773 use graceful-fs everywhere 2012-04-05 17:19:29 -07:00
Nathan Rajlich
2b8c43bfff build: fix 'platform is not defined' 2012-03-30 21:45:34 -07:00
Nathan Rajlich
6917ad57da build: catch node.lib copy errors 2012-03-30 21:40:03 -07:00
Nathan Rajlich
46891f4c7e build, install: initial attempt at 64-bit Windows support 2012-03-30 21:36:27 -07:00
Nathan Rajlich
c58697cbb2 build: comments 2012-03-30 21:35:01 -07:00
Nathan Rajlich
ece5100295 build: comment 2012-03-30 20:45:02 -07:00
Nathan Rajlich
0a7591cad4 build: use the proper x64 Platform setting on Windows 2012-03-30 18:21:59 -07:00
Nathan Rajlich
6cf1990faa build: tell the user to run "configure" if build/config.gypi doesn't exist 2012-03-19 20:49:02 -07:00
Nathan Rajlich
6efb29b326 build: fix platform config check for Windows 64-bit 2012-03-15 22:55:12 -07:00
Nathan Rajlich
d03bd57dfb build: display a better error message when "msbuild.exe" isn't found
Would be even nicer to eventually just open up a web browser or something
to the MSVS C++ 2010 Express edition download page. That would be hawt.
2012-03-14 16:24:43 -07:00
Nathan Rajlich
0f29f5e5fa build: specify the Platform on Windows to msbuild
this should fix #34
2012-03-11 14:24:21 -07:00
Nathan Rajlich
b07c1533d1 build: use the proper default_configuration.
this makes it now possible to specify --debug in the configure step alone.

  $ node-gyp configure --debug
  $ node-gyp build
2012-03-11 14:10:47 -07:00
Nathan Rajlich
80f857a470 Use path.resolve() everywhere. 2012-02-27 18:15:20 -08:00
Nathan Rajlich
a32385a413 Try to fix 'build' command on Windows. 2012-02-27 18:07:56 -08:00
Nathan Rajlich
5cf7306e9d Glob for the first *.sln file in the build dir during "build".
Fixes #28.
2012-02-27 17:58:31 -08:00
Nathan Rajlich
a12c26df21 Fix the 'build' step to account for the fact that files are generated in "build". 2012-02-27 17:30:30 -08:00
Nathan Rajlich
3704a79497 Fix spacing in log output during build. 2012-02-22 23:57:11 -08:00
Nathan Rajlich
10f606ede9 Remove semicolons. 2012-02-17 18:32:43 -08:00
Nathan Rajlich
b2e8abcdc0 Hack in 'before' and 'after' hook events for the 'clean', 'configure', and 'build' commands.
Part of #9.
2012-02-12 15:58:09 -08:00
Nathan Rajlich
4c9ebdbaac Remove use of undefined variable. 2012-02-08 15:12:40 -08:00
Nathan Rajlich
7d0bdd57f4 Fix damn typo. 2012-02-06 14:53:35 -08:00
Nathan Rajlich
e4055959c2 Initial attempt at #7. 2012-02-06 14:50:14 -08:00
Nathan Rajlich
fb8c30f680 Some comments and stuff. 2012-02-06 11:55:53 -08:00
Nathan Rajlich
1c4f2e9862 More the Windows 'build'. 2012-02-06 11:19:03 -08:00
Nathan Rajlich
ba778db10b Small 'build' optimization on windows. 2012-02-06 10:39:21 -08:00
Christopher Jeffrey
f45f243053 Add a .gyp suffix to generated makefile, avoid clobbering an existing one. 2012-02-05 20:51:44 -06:00
Nathan Rajlich
b6df49a1cd More fine tuned Windows 'build' step. 2012-02-05 17:07:05 -08:00
Nathan Rajlich
cd60a5b948 Fix Windows 'build' step. 2012-02-05 16:51:20 -08:00
Nathan Rajlich
0f2eaf7498 Fix build command usage on Windows. 2012-02-04 15:29:39 -08:00
Nathan Rajlich
37e2ae53d1 Progress on the 'build' step. 2012-02-03 15:45:31 -08:00
Nathan Rajlich
7c864a0106 Basic usage description for all commands. 2012-02-03 14:39:13 -08:00
Nathan Rajlich
2d32ff37da More progress. Initial 'build' command working on non-windows. 2012-02-03 12:15:14 -08:00
Nathan Rajlich
2764a717f3 Quick 'install' command implementation. 2012-02-03 02:21:07 -08:00