batch files: switch to the batch file directory before doing anything else so that relative paths work right even if the batch file isn't called from its directory
This commit is contained in:
parent
fc97edab1b
commit
830f4559a0
|
@ -13,6 +13,8 @@ REM
|
|||
REM TODO:
|
||||
REM - run tests too
|
||||
|
||||
pushd %~dp0
|
||||
|
||||
if "%1" == "" goto help
|
||||
|
||||
REM Qt prompt sets QMAKESPEC
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
@echo off
|
||||
pushd %~dp0
|
||||
|
||||
if exist online-help.qhc del online-help.qhc
|
||||
if exist online-help.qch del online-help.qch
|
||||
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
@echo off
|
||||
pushd %~dp0
|
||||
|
||||
cleancss -o css/all.min.css css/all.css && ^
|
||||
cleancss -o css/demo.min.css css/demo.css && ^
|
||||
uglifyjs -o js/github.min.js js/github.js && ^
|
||||
|
|
Loading…
Reference in New Issue