support for settings package

This commit is contained in:
Peli de Halleux 2019-10-09 08:12:22 -07:00
parent fb5776ec41
commit b653e54917
4 changed files with 11 additions and 2 deletions

View File

@ -23,7 +23,8 @@
"touch-sensor": "file:../touch-sensor", "touch-sensor": "file:../touch-sensor",
"ultrasonic-sensor": "file:../ultrasonic-sensor", "ultrasonic-sensor": "file:../ultrasonic-sensor",
"gyro-sensor": "file:../gyro-sensor", "gyro-sensor": "file:../gyro-sensor",
"infrared-sensor": "file:../infrared-sensor" "infrared-sensor": "file:../infrared-sensor",
"settings": "file:../settings---files"
}, },
"palette": [ "palette": [
"#ffffff", "#ffffff",

View File

@ -0,0 +1,3 @@
{
"additionalFilePath": "../../node_modules/pxt-common-packages/libs/settings---files"
}

3
libs/settings/pxt.json Normal file
View File

@ -0,0 +1,3 @@
{
"additionalFilePath": "../../node_modules/pxt-common-packages/libs/settings"
}

View File

@ -18,7 +18,9 @@
"libs/screen", "libs/screen",
"libs/ev3", "libs/ev3",
"libs/storage", "libs/storage",
"libs/broadcast" "libs/broadcast",
"libs/settings",
"libs/settings---files"
], ],
"simulator": { "simulator": {
"autoRun": true, "autoRun": true,