mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-12-29 01:27:00 +03:00
41e1ce4a09
The latest release does not work because of CoffeeScript changes so use a simple compile script to convert CSON files to JSON files when buildilng. Closes #348
15 lines
409 B
Bash
Executable File
15 lines
409 B
Bash
Executable File
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
# Because of the way xcodebuild invokes external scripts we need to load
|
|
# The Setup's environment ourselves. If this isn't done, things like the
|
|
# node shim won't be able to find the stuff they need.
|
|
|
|
node --version > /dev/null 2>&1 || source /opt/github/env.sh
|
|
|
|
INPUT_FILE="${1}"
|
|
OUTPUT_FILE="${2}"
|
|
|
|
node_modules/.bin/coffee script/compile-cson.coffee -- "${INPUT_FILE}" "${OUTPUT_FILE}"
|