Merge branch 'cargo' into 'master'
build: Simplified the calling of cargo.sh See merge request Librem5/squeekboard!173
This commit is contained in:
		@ -60,13 +60,13 @@ rslibs = custom_target(
 | 
			
		||||
    output: ['librs.a'],
 | 
			
		||||
    install: false,
 | 
			
		||||
    console: true,
 | 
			
		||||
    command: [cargo_script, '@CURRENT_SOURCE_DIR@', '@OUTPUT@', 'build']
 | 
			
		||||
    command: [cargo_script, '@OUTPUT@', 'build']
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
test(
 | 
			
		||||
    'rstest',
 | 
			
		||||
    cargo_script,
 | 
			
		||||
    args: [meson.source_root(), '', 'test']
 | 
			
		||||
    args: ['', 'test']
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
libsqueekboard = static_library('libsqueekboard',
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user