File tree Expand file tree Collapse file tree 3 files changed +22
-4
lines changed
Expand file tree Collapse file tree 3 files changed +22
-4
lines changed Original file line number Diff line number Diff line change 3232 id : version
3333 run : |
3434 SHORT_SHA=$(git rev-parse --short HEAD)
35- echo "version=ballerina-${SHORT_SHA}" >> $GITHUB_OUTPUT
35+ DATE=$(date -u +%Y%m%d)
36+ echo "version=${DATE}-${SHORT_SHA}" >> $GITHUB_OUTPUT
3637
3738 - name : Build the Ballerina CLI for all platforms
3839 env :
Original file line number Diff line number Diff line change 44 // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
55 "version" : " 0.2.0" ,
66 "configurations" : [
7+
8+
79 {
8- "name" : " Debug Ballerina interpreter " ,
10+ "name" : " Debug Ballerina Interpreter - Single File " ,
911 "type" : " go" ,
1012 "request" : " launch" ,
1113 "mode" : " auto" ,
1416 " run" ,
1517 " ${file}"
1618 ]
19+ },
20+ {
21+ "name" : " Debug Ballerina Interpreter - Package" ,
22+ "type" : " go" ,
23+ "request" : " launch" ,
24+ "mode" : " auto" ,
25+ "program" : " ${workspaceFolder}/cli/cmd" ,
26+ "args" : [
27+ " run" ,
28+ " ${fileDirname}"
29+ ]
1730 }
1831 ]
1932}
Original file line number Diff line number Diff line change @@ -31,12 +31,16 @@ go build -o bal ./cli/cmd
3131./bal run --help
3232```
3333
34- #### Running a bal source file
34+ #### Running a bal source
35+
36+ Currently, the following are supported:
37+ - Single .bal file
38+ - Ballerina package with only the default module
3539
36- Currently, only single files are supported
3740E.g
3841``` bash
3942./bal run --dump-bir corpus/bal/subset1/01-boolean/equal1-v.bal
43+ ./bal run project-api-test/testdata/myproject
4044```
4145
4246### Testing
You can’t perform that action at this time.
0 commit comments