building aseprite extension

This commit is contained in:
DaniTheSkunk 2022-12-09 06:27:02 +00:00
parent 1392e3d64c
commit 893dc95335
10 changed files with 87 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
/aseskunk.aseprite-extension

3
.idea/.gitignore vendored Normal file
View File

@ -0,0 +1,3 @@
# Default ignored files
/shelf/
/workspace.xml

6
.idea/misc.xml Normal file
View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectRootManager">
<output url="file://$PROJECT_DIR$/out" />
</component>
</project>

8
.idea/modules.xml Normal file
View File

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/aseskunk.iml" filepath="$PROJECT_DIR$/aseskunk.iml" />
</modules>
</component>
</project>

View File

@ -0,0 +1,17 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="aseprite" type="ShConfigurationType">
<option name="SCRIPT_TEXT" value="Compress-Archive -LiteralPath &quot;src/*&quot; -DestinationPath &quot;aseskunk.zip&quot; &amp;&amp; move aseskunk.zip aseskunk.aseprite-extension" />
<option name="INDEPENDENT_SCRIPT_PATH" value="false" />
<option name="SCRIPT_PATH" value="$PROJECT_DIR$/build.ps1" />
<option name="SCRIPT_OPTIONS" value="" />
<option name="INDEPENDENT_SCRIPT_WORKING_DIRECTORY" value="true" />
<option name="SCRIPT_WORKING_DIRECTORY" value="$PROJECT_DIR$" />
<option name="INDEPENDENT_INTERPRETER_PATH" value="true" />
<option name="INTERPRETER_PATH" value="" />
<option name="INTERPRETER_OPTIONS" value="" />
<option name="EXECUTE_IN_TERMINAL" value="true" />
<option name="EXECUTE_SCRIPT_FILE" value="true" />
<envs />
<method v="2" />
</configuration>
</component>

6
.idea/vcs.xml Normal file
View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="" vcs="Git" />
</component>
</project>

9
aseskunk.iml Normal file
View File

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="WEB_MODULE" version="4">
<component name="NewModuleRootManager" inherit-compiler-output="true">
<exclude-output />
<content url="file://$MODULE_DIR$" />
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>

3
build.ps1 Normal file
View File

@ -0,0 +1,3 @@
Compress-Archive -Path "src" -DestinationPath "aseskunk.zip"
move -force aseskunk.zip aseskunk.aseprite-extension
Invoke-Item -Path aseskunk.aseprite-extension

10
src/aseskunk.lua Normal file
View File

@ -0,0 +1,10 @@
function init(plugin)
plugin:newCommand{
id="SkunkTest",
title="Skunk Test",
group="cel_popup_properties",
onclick=function()
app.alert("meow!")
end
}
end

24
src/package.json Normal file
View File

@ -0,0 +1,24 @@
{
"name": "aseskunk",
"displayName": "AseSkunk",
"description": "Various Stuff",
"version": "0.0",
"author": {
"name": "Dani The Skunk",
"email": "noemail@example.com",
"url": "https://git.danitheskunk.com/DaniTheSkunk/aseskunk"
},
"contributors": [],
"publisher": "Dani The Skunk",
"license": "CC0-1.0",
"categories": [
"Scripts"
],
"contributes": {
"scripts": [
{
"path": "./aseskunk.lua"
}
]
}
}