diff options
author | AlexVallat <github@alex.vallat.name> | 2015-03-07 14:32:08 +0000 |
---|---|---|
committer | AlexVallat <github@alex.vallat.name> | 2015-03-07 14:32:08 +0000 |
commit | 3d385c3821975502fad2f196077cb77a6a52ca08 (patch) | |
tree | 7061e27e0ce2a8e49f8bbcb5ffe75912e174f03f /tools | |
parent | 4481e951ccf4be2a9c2fce38a9c5ab80004e472a (diff) | |
download | uBlock-3d385c3821975502fad2f196077cb77a6a52ca08.zip uBlock-3d385c3821975502fad2f196077cb77a6a52ca08.tar.gz uBlock-3d385c3821975502fad2f196077cb77a6a52ca08.tar.bz2 |
Move Windows Development environment into own branch
Diffstat (limited to 'tools')
-rw-r--r-- | tools/deploy-firefox-android.bat | 5 | ||||
-rw-r--r-- | tools/make-firefox.bat | 40 |
2 files changed, 0 insertions, 45 deletions
diff --git a/tools/deploy-firefox-android.bat b/tools/deploy-firefox-android.bat deleted file mode 100644 index 09cd7d0..0000000 --- a/tools/deploy-firefox-android.bat +++ /dev/null @@ -1,5 +0,0 @@ -@echo off -cd %~dp0 -call make-firefox.bat all -"%ProgramFiles(x86)%\Android\android-sdk\platform-tools\adb" push ..\dist\build\uBlock.firefox.xpi /mnt/sdcard/ -"%ProgramFiles(x86)%\Android\android-sdk\platform-tools\adb" shell am start -a android.intent.action.VIEW -c android.intent.category.DEFAULT -d file:///mnt/sdcard/uBlock.firefox.xpi -n org.mozilla.firefox/.App
\ No newline at end of file diff --git a/tools/make-firefox.bat b/tools/make-firefox.bat deleted file mode 100644 index f9f25e7..0000000 --- a/tools/make-firefox.bat +++ /dev/null @@ -1,40 +0,0 @@ -rem This script assumes a Windows environment -@echo off -echo "*** uBlock.firefox: Copying files" - -set DES="%~dp0..\dist\build\uBlock.firefox" -rd /s /q %DES% -mkdir %DES% - -pushd %~dp0.. -xcopy /S /I assets %DES%\assets -del %DES%\assets\*.sh -xcopy /S /I src\css %DES%\css -xcopy /S /I src\img %DES%\img -xcopy /S /I src\js %DES%\js -xcopy /S /I src\lib %DES%\lib -xcopy /S /I src\_locales %DES%\_locales -xcopy src\*.html %DES%\ -move %DES%\img\icon_128.png %DES%\icon.png -xcopy platform\firefox\vapi-*.js %DES%\js\ -xcopy platform\firefox\bootstrap.js %DES%\ -xcopy platform\firefox\frame*.js %DES%\ -xcopy platform\firefox\chrome.manifest %DES%\ -xcopy platform\firefox\install.rdf %DES%\ -xcopy platform\firefox\*.xul %DES%\ -xcopy LICENSE.txt %DES%\ - -echo "*** uBlock.firefox: Generating meta..." -c:\python34\python "%~dp0\make-firefox-meta.py" %DES%\ - - -if "%1"=="all" ( - echo "*** uBlock.firefox: Creating package..." - pushd %DES%\ - del ..\uBlock.firefox.xpi - "%ProgramW6432%\7-Zip\7z.exe" a -tzip -mx5 -bd ..\uBlock.firefox.xpi * - popd -) - -echo "*** uBlock.firefox: Package done." -popd
\ No newline at end of file |