Hey ST community
I have troubles configuring the compilation of my project on linux, $project, $project_name and all $project* variables are empty. $folder is perfectly working. I set it up in a BuildInstructions.sublime-build file containing :
{
“cmd” : ["$folder/…/…/compileWithSublimeText.sh", “$project_path”],
}
compileWithSublimeText.sh is this :
#!/bin/bash
echo '$ 0 = ’ $0
echo '$ 1 = ’ $1
The result is :
$ 0 = /home/linuxusername/DEV/git/xxx/xxx/mySuperProject/…/…/compileWithSublimeText.sh
$ 1 =
I tried to setup the “project” and “project_name” in the mySuperProject.sublime-workspace :
“project”: “mySuperProject”,
“project_name”: “mySuperProject”,