forked from sencha/electron-demo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cmd
37 lines (28 loc) · 842 Bytes
/
setup.cmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
@echo off
REM Set PM (Package Manager) to npm or yarn:
set PM=yarn
REM Set path the Ext JS framework(s):
set D=%EXTJS_HOME%
if not "%1"=="" set D=%1
if "%D%"=="" (
echo:Specify path to Ext JS framework or set EXTJS_HOME
echo:This folder can either be an extracted version of
echo:Ext JS or a folder with many extracted versions.
echo:
echo:Example:
echo:
echo: setup C:\Downloads\Sencha
exit /B 1
)
echo:====================================================
echo:Installing Ext JS and preparing app
sencha workspace install -f %D%
echo:====================================================
echo:Installing Node packages
pushd app
call %PM% install
popd
call %PM% install
echo:====================================================
echo:Perform initial development build
sencha --cwd app app build --dev