3SCRIPTPATH=$( cd "$(dirname "$0")" ; pwd -P )
9 echo "Usage: build.sh osname"
13pushd ${SCRIPTPATH} > /dev/null
15# Make the staging directory
16mkdir -p build/purescript/
19strip ../dist/build/psc/psc
20strip ../dist/build/psci/psci
21strip ../dist/build/psc-docs/psc-docs
22strip ../dist/build/psc-publish/psc-publish
23strip ../dist/build/psc-bundle/psc-bundle
25# Copy files to staging directory
26cp ../dist/build/psc/psc build/purescript/
27cp ../dist/build/psci/psci build/purescript/
28cp ../dist/build/psc-docs/psc-docs build/purescript/
29cp ../dist/build/psc-publish/psc-publish build/purescript/
30cp ../dist/build/psc-bundle/psc-bundle build/purescript/
31cp README build/purescript/
32cp ../LICENSE build/purescript/
33cp ../INSTALL.md build/purescript/
35# Make the binary bundle
36pushd build > /dev/null
37tar -zcvf ../$OS.tar.gz purescript
40# Calculate the SHA hash
41shasum $OS.tar.gz > $OS.sha
43# Remove the staging directory
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list