-
-
Notifications
You must be signed in to change notification settings - Fork 618
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add documentation for the new Linux apis
- Loading branch information
Showing
4 changed files
with
92 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
Directory on the remote machine where the project will be deployed to. | ||
|
||
```lua | ||
remoteprojectdir ("path") | ||
``` | ||
|
||
### Parameters ### | ||
|
||
`path` specifies the directory on the remote machine where the project is deployed | ||
|
||
### Applies To ### | ||
|
||
The `config` scope. | ||
|
||
### Availability ### | ||
|
||
Premake 5.0.0 alpha 14 or later, only applies to Visual Studio Linux projects. | ||
|
||
### Examples ### | ||
|
||
```lua | ||
remoteprojectdir "$(RemoteProjectDir)" | ||
``` |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
Project directory as seen by the Windows Subsystem for Linux shell. | ||
|
||
```lua | ||
remoteprojectdir ("path") | ||
``` | ||
|
||
### Parameters ### | ||
|
||
`path` specifies the directory on the remote machine that WSL sees the project in | ||
|
||
### Applies To ### | ||
|
||
The `config` scope. | ||
|
||
### Availability ### | ||
|
||
Premake 5.0.0 alpha 14 or later, only applies to Visual Studio Linux projects. | ||
|
||
### Examples ### | ||
|
||
```lua | ||
remoteprojectdir "$(RemoteRootDir)/$(ProjectName)" | ||
``` |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
Specifies the subdirectory on the remote machine to copy each project's source code to. | ||
|
||
```lua | ||
remoteprojectreldir ("path") | ||
``` | ||
|
||
### Parameters ### | ||
|
||
`path` specifies the directory on the remote machine where the source files of a single project will be copied to before compiling, relative to the root path | ||
|
||
### Applies To ### | ||
|
||
The `config` scope. | ||
|
||
### Availability ### | ||
|
||
Premake 5.0.0 alpha 14 or later, only applies to Visual Studio Linux projects. | ||
|
||
### Examples ### | ||
|
||
```lua | ||
remoteprojectreldir "%{prj.name}" | ||
``` |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
Specifies the base directory on the remote machine to deploy the source code to before compiling. | ||
|
||
```lua | ||
remoterootdir ("path") | ||
``` | ||
|
||
### Parameters ### | ||
|
||
`path` specifies the directory on the remote machine where the source files will be copied to before compiling | ||
|
||
### Applies To ### | ||
|
||
The `config` scope. | ||
|
||
### Availability ### | ||
|
||
Premake 5.0.0 alpha 14 or later, only applies to Visual Studio Linux projects. | ||
|
||
### Examples ### | ||
|
||
```lua | ||
remoterootdir "~/projects/%{prj.name}" | ||
``` |