Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

60 lines (54 sloc) 3.502 kb
build-chrome-zip:
cat src/client/chrome-plugin/js/src/crypto.js >> src/client/chrome-plugin/js/build.js
cat src/client/chrome-plugin/js/src/blockmodes.js >> src/client/chrome-plugin/js/build.js
cat src/client/chrome-plugin/js/src/aes.js >> src/client/chrome-plugin/js/build.js
cat src/client/chrome-plugin/js/src/hmac.js >> src/client/chrome-plugin/js/build.js
cat src/client/chrome-plugin/js/src/fortuna.js >> src/client/chrome-plugin/js/build.js
cat src/client/chrome-plugin/js/src/whirlpool.js >> src/client/chrome-plugin/js/build.js
cat src/client/chrome-plugin/js/src/seedrandom.js >> src/client/chrome-plugin/js/build.js
cat src/client/chrome-plugin/js/src/bigint.js >> src/client/chrome-plugin/js/build.js
cd src/client/chrome-plugin/ && zip -r9 cryptocat-plugin.zip *
mv src/client/chrome-plugin/cryptocat-plugin.zip .
build-chrome-crx:
cat src/client/chrome-plugin/js/src/crypto.js >> src/client/chrome-plugin/js/build.js
cat src/client/chrome-plugin/js/src/blockmodes.js >> src/client/chrome-plugin/js/build.js
cat src/client/chrome-plugin/js/src/aes.js >> src/client/chrome-plugin/js/build.js
cat src/client/chrome-plugin/js/src/hmac.js >> src/client/chrome-plugin/js/build.js
cat src/client/chrome-plugin/js/src/fortuna.js >> src/client/chrome-plugin/js/build.js
cat src/client/chrome-plugin/js/src/whirlpool.js >> src/client/chrome-plugin/js/build.js
cat src/client/chrome-plugin/js/src/seedrandom.js >> src/client/chrome-plugin/js/build.js
cat src/client/chrome-plugin/js/src/bigint.js >> src/client/chrome-plugin/js/build.js
google-chrome --pack-extension=`pwd`/src/client/chrome-plugin/
mv src/client/chrome-plugin.crx cryptocat-plugin.crx
build-chrome-crx-signed:
cat src/client/chrome-plugin/js/src/crypto.js >> src/client/chrome-plugin/js/build.js
cat src/client/chrome-plugin/js/src/blockmodes.js >> src/client/chrome-plugin/js/build.js
cat src/client/chrome-plugin/js/src/aes.js >> src/client/chrome-plugin/js/build.js
cat src/client/chrome-plugin/js/src/hmac.js >> src/client/chrome-plugin/js/build.js
cat src/client/chrome-plugin/js/src/fortuna.js >> src/client/chrome-plugin/js/build.js
cat src/client/chrome-plugin/js/src/whirlpool.js >> src/client/chrome-plugin/js/build.js
cat src/client/chrome-plugin/js/src/seedrandom.js >> src/client/chrome-plugin/js/build.js
cat src/client/chrome-plugin/js/src/bigint.js >> src/client/chrome-plugin/js/build.js
google-chrome --pack-extension=`pwd`/src/client/chrome-plugin/ --pack-extension-key=`pwd`/src/client/chrome-plugin.pem
mv src/client/chrome-plugin.crx cryptocat-plugin.crx
build-android-apk:
git submodule init
git submodule update
android update project -p src/client/android/CryptocatBot/libs/cordova/framework -t android-15
ant jar -f src/client/android/CryptocatBot/libs/cordova/framework/build.xml
mv src/client/android/CryptocatBot/libs/cordova/framework/cordova*jar src/client/android/CryptocatBot/libs
android update project -p src/client/android/CryptocatBot/
ant release -f src/client/android/CryptocatBot/build.xml
mkdir out
mv src/client/android/CryptocatBot/bin/CryptocatBot-release-unsigned.apk out/
clean:
-rm src/client/chrome-plugin/js/build.js
rm src/client/android/CryptocatBot/libs/*.jar
ant clean -f src/client/android/CryptocatBot/libs/cordova/framework/build.xml
ant clean -f src/client/android/CryptocatBot/build.xml
-rm out/*.crx
-rm out/*.apk
really-clean:
-rm out/*.crx
-rm src/client/chrome-plugin/js/build.js
-rm src/client/chrome-plugin.pem
Jump to Line
Something went wrong with that request. Please try again.