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" |
||||
mklink package.json "../../package.json" |
||||
meteor run |
||||
del ..\..\package.js package.json |
||||
@echo off |
||||
REM Sanity check: make sure we're in the directory of the script |
||||
set DIR=%~dp0 |
||||
cd %DIR% |
||||
|
||||
set PACKAGE_DIRS=..\..\ |
||||
meteor run %* |
||||
|
@ -1,15 +1,5 @@
|
||||
# sanity check: make sure we're in the root directory of the example |
||||
cd "$( dirname "$0" )" |
||||
|
||||
# delete temp files even if Ctrl+C is pressed |
||||
int_trap() { |
||||
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 |
||||
# let Meteor find the local package |
||||
PACKAGE_DIRS=../../ meteor run "$@" |
||||
|
Loading…
Reference in new issue