mirror of
https://github.com/atom/atom.git
synced 2026-04-06 03:02:13 -04:00
16 lines
485 B
Bash
Executable File
16 lines
485 B
Bash
Executable File
#!/bin/sh
|
|
INSTALLDIR=/usr/share/atom
|
|
|
|
mkdir -p $INSTALLDIR
|
|
cp out/Default/atom $INSTALLDIR
|
|
cp -R -t $INSTALLDIR static/*
|
|
cp -t $INSTALLDIR lib/32/*
|
|
cp -R ../../src $INSTALLDIR
|
|
cp -R ../../static $INSTALLDIR
|
|
cp -R ../../vendor $INSTALLDIR
|
|
cp -R ../../bundles $INSTALLDIR
|
|
mkdir -p $INSTALLDIR/native/v8_extensions
|
|
cp -t $INSTALLDIR/native/v8_extensions ../v8_extensions/*.js
|
|
coffee -c -o $INSTALLDIR/src/stdlib ../../src/stdlib/require.coffee
|
|
ln -sf $INSTALLDIR/atom /usr/local/bin/atom
|