Skip to content
Browse files

Fixes for npm install

  • Loading branch information...
1 parent c9c7265 commit 0bde8995de4b5b13f36397481aafaad0ea94b94e @donny-dont donny-dont committed Jul 5, 2013
Showing with 30 additions and 3 deletions.
  1. +2 −0 .npmignore
  2. +5 −0 binding.gyp
  3. +21 −0 package.json
  4. 0 src/glsl/.npmignore
  5. 0 src/glsl/glcpp/.npmignore
  6. +2 −3 src/glsl_optimizer_lib.gyp
View
2 .npmignore
@@ -0,0 +1,2 @@
+projects
+tests
View
5 binding.gyp
@@ -15,6 +15,11 @@
'src/node/shader.cpp',
'src/node/shader.h',
],
+ 'conditions': [
+ ['OS=="win"', {
+ 'msvs_disabled_warnings': [4506],
+ }],
+ ],
}
]
}
View
21 package.json
@@ -0,0 +1,21 @@
+{
+ "name": "glsl-optimizer",
+ "version": "0.1.0",
+ "description": "GLSL optimizer",
+ "main": "build/Release/glslOptimizer.node",
+ "scripts": {
+ "install": "node-gyp rebuild"
+ },
+ "repository": {
+ "type": "git",
+ "url": "https://github.com/donny-dont/glsl-optimizer.git"
+ },
+ "keywords": [
+ "glsl",
+ "webgl"
+ ],
+ "author": "Don Olmstead",
+ "license": "MIT",
+ "gypfile": true,
+ "readmeFilename": "README.md"
+}
View
0 src/glsl/.npmignore
No changes.
View
0 src/glsl/glcpp/.npmignore
No changes.
View
5 src/glsl_optimizer_lib.gyp
@@ -21,7 +21,7 @@
'glsl/glcpp/glcpp-lex.c',
'glsl/glcpp/glcpp-parse.c',
'glsl/glcpp/glcpp-parse.h',
- 'glsl/glcpp/clcpp.h',
+ 'glsl/glcpp/glcpp.h',
'glsl/glcpp/pp.c',
'glsl/ast.h',
'glsl/ast_array_index.cpp',
@@ -32,7 +32,6 @@
'glsl/builtin_function.cpp',
'glsl/builtin_types.h',
'glsl/builtin_variables.cpp',
- 'glsl/builtin_variables.h',
'glsl/glsl_lexer.cpp',
'glsl/glsl_optimizer.cpp',
'glsl/glsl_optimizer.h',
@@ -174,7 +173,7 @@
'__STDC__',
'strdup=_strdup',
],
- 'msvs_disabled_warnings': [4996],
+ 'msvs_disabled_warnings': [4028, 4244, 4267, 4996],
}],
],
}

0 comments on commit 0bde899

Please sign in to comment.
Something went wrong with that request. Please try again.