Skip to content

Commit

Permalink
COMMIT TO REMOVE: use testing package_index.json for dev purposes
Browse files Browse the repository at this point in the history
  • Loading branch information
cmaglie committed Feb 1, 2016
1 parent 8cc0314 commit c35250d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion build/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1118,10 +1118,12 @@
<target name="package-library-index-json-bundle">
<mkdir dir="${staging_folder}/work/${staging_hardware_folder}/../dist/"/>

<get src="http://downloads.arduino.cc/packages/test_package_arm_index.json" dest="${staging_folder}/work/${staging_hardware_folder}/../dist/package_index.json" verbose="true" skipexisting="false" />
<!--
<get src="http://downloads.arduino.cc/packages/package_index.json.gz" dest="${staging_folder}/work/${staging_hardware_folder}/../dist/" verbose="true" skipexisting="false" />
<gunzip src="${staging_folder}/work/${staging_hardware_folder}/../dist/package_index.json.gz" dest="${staging_folder}/work/${staging_hardware_folder}/../dist/"/>
<delete file="${staging_folder}/work/${staging_hardware_folder}/../dist/package_index.json.gz"/>

-->
<get src="http://downloads.arduino.cc/packages/package_index.json.sig" dest="${staging_folder}/work/${staging_hardware_folder}/../dist/" verbose="true" skipexisting="false" />

<get src="http://downloads.arduino.cc/libraries/library_index.json.gz" dest="${staging_folder}/work/${staging_hardware_folder}/../dist/" verbose="true" skipexisting="false" />
Expand Down
2 changes: 2 additions & 0 deletions build/linux/dist/arduino
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,7 @@ if [[ "$@" != *"--upload"* && "$@" != *"--verify"* && "$@" != *"--get-pref"* &&
JAVA_OPTIONS+=("-splash:$APPDIR/lib/splash.png")
fi

JAVA_OPTIONS+=("-DPACKAGE_INDEX_URL=http://downloads.arduino.cc/packages/test_package_arm_index.json")

"$JAVA" "${JAVA_OPTIONS[@]}" processing.app.Base "$@"

2 changes: 1 addition & 1 deletion build/shared/lib/preferences.txt
Original file line number Diff line number Diff line change
Expand Up @@ -275,4 +275,4 @@ editor.languages.current =

# Disable signature check on packages_index.json, use only for
# development/debugging purposes. Do not enable in production.
#allow_insecure_packages=true
allow_insecure_packages=true

0 comments on commit c35250d

Please sign in to comment.