read style filename from gyp file
This commit is contained in:
@@ -1,10 +1,13 @@
|
||||
#!/usr/bin/env node
|
||||
'use strict';
|
||||
|
||||
var path = require('path');
|
||||
|
||||
var lazy_update = require('./lazy-update');
|
||||
|
||||
var name = 'style';
|
||||
var data = JSON.stringify(require('./style'));
|
||||
var data = JSON.stringify(require(path.join(process.cwd(), process.argv[2])));
|
||||
|
||||
|
||||
var length = data.length;
|
||||
|
||||
|
||||
4
llmr.gyp
4
llmr.gyp
@@ -31,13 +31,13 @@
|
||||
{
|
||||
'action_name': 'Build Stylesheet',
|
||||
'inputs': [
|
||||
'bin/style.js'
|
||||
'bin/style.js',
|
||||
],
|
||||
'outputs': [
|
||||
'include/llmr/style/resources.hpp',
|
||||
'src/style/resources.cpp'
|
||||
],
|
||||
'action': ['<@(node)', 'bin/build-style.js']
|
||||
'action': ['<@(node)', 'bin/build-style.js', '<@(_inputs)']
|
||||
}
|
||||
],
|
||||
'direct_dependent_settings': {
|
||||
|
||||
Reference in New Issue
Block a user