File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed
Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 7777 if : ${{ success() }}
7878 run : |
7979 echo "Test to dist project"
80- scons --dist --project-name=project - C $TEST_BSP_ROOT
80+ scons --dist -C $TEST_BSP_ROOT
8181 scons --dist-ide -C $TEST_BSP_ROOT
8282 ls $TEST_BSP_ROOT
8383 ls $TEST_BSP_ROOT/dist
Original file line number Diff line number Diff line change 2222# 2022-04-20 WuGensheng Add Options to SCons
2323#
2424
25- from SCons .Script import AddOption , Dir
25+ from SCons .Script import AddOption
2626import platform
27- import os
2827
2928def AddOptions ():
3029 ''' ===== Add generic options to SCons ===== '''
@@ -46,7 +45,7 @@ def AddOptions():
4645 AddOption ('--project-name' ,
4746 dest = 'project-name' ,
4847 type = 'string' ,
49- default = os . path . basename ( Dir ( '#' ). abspath ) ,
48+ default = "project" ,
5049 help = 'set project name' )
5150 AddOption ('--cscope' ,
5251 dest = 'cscope' ,
You can’t perform that action at this time.
0 commit comments