Skip to content
This repository has been archived by the owner on Feb 11, 2023. It is now read-only.

Commit

Permalink
- module update
Browse files Browse the repository at this point in the history
- v0.2 release
  • Loading branch information
kirbodevv committed Feb 13, 2022
1 parent d4e179a commit 23af888
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 3 deletions.
3 changes: 1 addition & 2 deletions manifest.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"name": "ModuleName",
"version": "0.1",
"executable": true
"executable": "test"
}
4 changes: 3 additions & 1 deletion module
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#!/bin/bash
buildjs=build/build.js
version=$(cat version)

build() {
mkdir -p build
Expand Down Expand Up @@ -27,7 +28,8 @@ release() {

if [ "$1" = "build" ]; then
build
cp build/build.js ~/S.A.U.W./Modules/test.js
cp $buildjs ~/S.A.U.W./Modules/test.js
elif [ "$1" = "release" ]; then
release
cp $buildjs "release/$version.js"
fi
8 changes: 8 additions & 0 deletions release/v0.2.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
MODULE({
"name": "ModuleName",
"executable": "test"
});
//file src/src.js
function test() {
java.lang.System.out.println("Hello, World!");
}
1 change: 1 addition & 0 deletions version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
v0.2

0 comments on commit 23af888

Please sign in to comment.