Last active
November 9, 2022 04:07
-
-
Save ryu10/2f488904564b48e7f6b010a9647b4530 to your computer and use it in GitHub Desktop.
tasks.json for code-cupl with variable file argument
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
// See https://go.microsoft.com/fwlink/?LinkId=733558 | |
// for the documentation about the tasks.json format | |
"version": "2.0.0", | |
"windows": { | |
"options": { | |
"shell": { | |
"executable": "cmd.exe", | |
"args": [ | |
"/d", "/c" | |
] | |
} | |
} | |
}, | |
"tasks": [ | |
{ | |
"label": "cupl", | |
"type": "shell", | |
"command": "C:\\WinCupl\\Shared\\cupl.exe", | |
"args": [ | |
"-m1lxfjnabe", | |
{ | |
"value": "-u C:\\WinCupl\\Shared\\Atmel.DL", | |
"quoting": "escape" | |
}, | |
"${file}" | |
], | |
"problemMatcher": [], | |
"group": { | |
"kind": "build", | |
"isDefault": true | |
} | |
}, | |
{ | |
"label": "cupltest", | |
"type": "shell", | |
"command": "C:\\WinCupl\\Shared\\cupl.exe", | |
"args": [ | |
"-m1lxfjnabe", | |
"-s", | |
{ | |
"value": "-u C:\\WinCupl\\Shared\\Atmel.DL", | |
"quoting": "escape" | |
}, | |
"${file}" | |
], | |
"problemMatcher": [], | |
"group": { | |
"kind": "test", | |
"isDefault": true | |
} | |
} | |
] | |
} |
Dear Ryu10,
Thank you for the notice on the Gist. I am glad that I could help you.
Besst Regards,
Kasumi YOSHINO
…On Wed, Nov 9, 2022 at 7:28 AM ryu10 ***@***.***> wrote:
***@***.**** commented on this gist.
------------------------------
Steps:
1. Install code-cupl VSCode extension
<https://github.com/tlgkccampbell/code-cupl>.
2. Read the Readme of code-cupl and create tasks.json file for your
workspace.
3. Replace the contents of tasks.json file with the code above. Adjust
the paths to cupl.exe and Atmel.DL.
4. Add the path to Fitters dir (e.g. C:\WinCupl\WinCupl\Fitters) to
Windows system environment variable path. (info provided by @ja1umi
<https://github.com/ja1umi>)
5. You'll need to set the compatibility mode for cupl.exe. See image
below.
6. To run the build task, focus on the *.pld file window and press
Ctrl-Shift-B.
[image: image]
<https://user-images.githubusercontent.com/39343211/200184704-d277eb6e-0f9d-4199-be61-509b3092f01a.png>
—
Reply to this email directly, view it on GitHub
<https://gist.github.com/2f488904564b48e7f6b010a9647b4530#gistcomment-4360173>
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AADVN3H5SWE74VKOWHBYGCLWHLHXDBFKMF2HI4TJMJ2XIZLTSGBKK5TBNR2WLJDHNFZXJJDOMFWWLK3UNBZGKYLEL52HS4DFVRZXKYTKMVRXIX3UPFYGLK2HNFZXIQ3PNVWWK3TUUZ2G64DJMNZZDAVEOR4XAZNEM5UXG5FFOZQWY5LFVEYTCOJSGE3DAOBSU52HE2LHM5SXFJTVOBSGC5DF>
.
You are receiving this email because you were mentioned.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>
.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Steps:
tasks.json
file for your workspace.tasks.json
file with the code above. Adjust the paths tocupl.exe
andAtmel.DL
.Fitters
dir (e.g.C:\WinCupl\WinCupl\Fitters
) to Windows system environment variablepath
. (info provided by @ja1umi)cupl.exe
. See image below..pld
file window and pressCtrl-Shift-B
.