mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-11-10 10:17:11 +03:00
30 lines
600 B
Bash
Executable File
30 lines
600 B
Bash
Executable File
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
cd "$(dirname $0)/.."
|
|
|
|
file_list() {
|
|
while read file; do
|
|
echo " '${file}',"
|
|
done
|
|
}
|
|
|
|
cat > sources.gypi <<EOF
|
|
{
|
|
'variables': {
|
|
'compiled_sources_dir': '<(INTERMEDIATE_DIR)/atom-resources',
|
|
'compiled_sources_dir_xcode': '\${INTERMEDIATE_DIR}/atom-resources',
|
|
'coffee_sources': [
|
|
$(find src static vendor -type file -name '*.coffee' | file_list)
|
|
],
|
|
'cson_sources': [
|
|
$(find src static themes vendor -type file -name '*.cson' | file_list)
|
|
],
|
|
'less_sources': [
|
|
$(find src static themes -type file -name '*.less' | file_list)
|
|
],
|
|
},
|
|
}
|
|
EOF
|