Skip to content

Commit

Permalink
Fix release zip package
Browse files Browse the repository at this point in the history
Closes #76
  • Loading branch information
dail8859 committed Jul 5, 2019
1 parent 290e89e commit ce3b099
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,12 @@ Scripts can also register functions to be called when certain events occur, such
The full API documentation can be found [here](http://dail8859.github.io/LuaScript/). Also be sure to check out the [examples](/examples/) directory.

## Development
The code has been developed using MSVC 2017. To compile the code:
The code has been developed using Visual Studio 2017. To compile the code:

1. Open the `LuaScript.sln` file
1. Press `F7` and that's it!

For convenience, MSVC automatically copies the DLL into the Notepad++ plugin directory.
For convenience, Visual Studio automatically copies the DLL into the Notepad++ plugin directory.

## License
This code is released under the [GNU General Public License version 2](http://www.gnu.org/licenses/gpl-2.0.txt).
Expand Down
8 changes: 3 additions & 5 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,13 @@ after_build:
Push-AppveyorArtifact "$($BuildPath)\LuaScript.dll" -FileName LuaScript.dll
if ($($env:APPVEYOR_REPO_TAG) -eq "true" -and $env:CONFIGURATION -eq "Release") {
mkdir LuaScript
Move-Item -Path "$($BuildPath)\LuaScript.dll" -Destination .\LuaScript
if ($env:BUILD_PLATFORM -eq "x64"){
if ($env:BUILD_PLATFORM -eq "x64") {
$ZipFileName = "LuaScript_$($env:APPVEYOR_REPO_TAG_NAME)_x64.zip"
}
if ($env:BUILD_PLATFORM -eq "Win32"){
if ($env:BUILD_PLATFORM -eq "Win32") {
$ZipFileName = "LuaScript_$($env:APPVEYOR_REPO_TAG_NAME).zip"
}
7z a $ZipFileName .\LuaScript
7z a $ZipFileName "$($BuildPath)\LuaScript.dll"
}
artifacts:
Expand Down

0 comments on commit ce3b099

Please sign in to comment.