mirror of https://github.com/RubaXa/Sortable.git
Dan Dascalescu
9 years ago
7 changed files with 23 additions and 33 deletions
@ -1,4 +1,7 @@ |
|||||||
mklink ..\..\package.js "meteor/package.js" |
@echo off |
||||||
mklink package.json "../../package.json" |
REM Sanity check: make sure we're in the directory of the script |
||||||
meteor run |
set DIR=%~dp0 |
||||||
del ..\..\package.js package.json |
cd %DIR% |
||||||
|
|
||||||
|
set PACKAGE_DIRS=..\..\ |
||||||
|
meteor run %* |
||||||
|
@ -1,15 +1,5 @@ |
|||||||
# sanity check: make sure we're in the root directory of the example |
# sanity check: make sure we're in the root directory of the example |
||||||
cd "$( dirname "$0" )" |
cd "$( dirname "$0" )" |
||||||
|
|
||||||
# delete temp files even if Ctrl+C is pressed |
# let Meteor find the local package |
||||||
int_trap() { |
PACKAGE_DIRS=../../ meteor run "$@" |
||||||
echo "Cleaning up..." |
|
||||||
} |
|
||||||
trap int_trap INT |
|
||||||
|
|
||||||
ln -s "meteor/package.js" ../../package.js 2>/dev/null |
|
||||||
ln -s "../../package.json" package.json 2>/dev/null |
|
||||||
|
|
||||||
meteor run "$@" |
|
||||||
|
|
||||||
rm ../../package.js package.json |
|
||||||
|
Loading…
Reference in new issue