mirror of
https://github.com/JamesIves/github-pages-deploy-action.git
synced 2023-12-15 20:03:39 +08:00
30 lines
685 B
Python
30 lines
685 B
Python
{
|
|
"targets": [
|
|
{ "target_name": "" }
|
|
],
|
|
"conditions": [
|
|
['OS=="mac"', {
|
|
"targets": [{
|
|
"target_name": "<(module_name)",
|
|
"sources": ["fsevents.cc"],
|
|
"xcode_settings": {
|
|
"OTHER_LDFLAGS": [
|
|
"-framework CoreFoundation -framework CoreServices"
|
|
]
|
|
},
|
|
"include_dirs": [
|
|
"<!(node -e \"require('nan')\")"
|
|
]
|
|
}, {
|
|
"target_name": "action_after_build",
|
|
"type": "none",
|
|
"dependencies": ["<(module_name)"],
|
|
"copies": [{
|
|
"files": ["<(PRODUCT_DIR)/<(module_name).node"],
|
|
"destination": "<(module_path)"
|
|
}]
|
|
}]
|
|
}]
|
|
]
|
|
}
|