Skip to content

Commit

Permalink
Update release script
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmtcn123 committed Nov 6, 2023
1 parent 39e5ced commit 8fa378c
Show file tree
Hide file tree
Showing 6 changed files with 254 additions and 225 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
target
ellieRelease
Cargo.lock
3 changes: 2 additions & 1 deletion .vscode/extensions.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"dtsvet.vscode-wasm",
"vadimcn.vscode-lldb",
"spmeesseman.vscode-taskexplorer",
"serayuzgur.crates"
"serayuzgur.crates",
"denoland.vscode-deno",
]
}
8 changes: 3 additions & 5 deletions ellie_engine/src/engine_constants.rs
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
pub static ELLIE_ENGINE_VERSION: &str = &"1.4.13-alpha";
pub static ELLIE_ENGINE_VERSION_NAME: &str = &"Kaan";
pub static ELLIE_ENGINE_VERSION_NAME: &str = &"Seftali";
pub static ELLIE_CORE_VERSION: &str = &"0.7.1";
pub static ELLIE_TOKENIZER_VERSION: &str = &"0.6.0";
pub static ELLIE_PARSER_VERSION: &str = &"0.7.2";
pub static ELLIE_BYTECODE_VERSION: &str = &"0.4.2";
pub static ELLIE_FMT_VERSION: &str = &"0.5.2";
pub static ELLIE_VM_VERSION: &str = &"0.5.2";
pub static ELLIE_BUILD_DATE: &str = &"2023-11-03";
pub static ELLIE_BUILD_GIT_HASH: &str = &"20cc77c";
pub static ELLIE_BUILD_DATE: &str = &"2023-11-06";
pub static ELLIE_BUILD_GIT_HASH: &str = &"41119f2";
pub static ELLIE_BUILD_GIT_BRANCH: &str = &"main";
31 changes: 18 additions & 13 deletions tools/README.md
Original file line number Diff line number Diff line change
@@ -1,31 +1,36 @@
# Ellie Tools

Various tools for Ellie development

## Requirements
Node.js@v15>= and npm are required.

deno@v1.38.0>= required.

## Tools

- ### [Release](./release.js)
Release script builds ellie binaries and makes a directory for release.

- ### [ReAssembler - TODO](./reAssembler.js)
ReAssembler is a tool for re alligning op codes or addressing modes for instructions. If a modification required in [instructions.cv](../bytecode/instructions.csv) this tool required for modifying following codes:

* HashMap at [instruction_table.rs:13](../bytecode/src/instruction_table.rs)
* Markdown file at [instructions.md](../bytecode/instructions.md)
* Match body at [utils.rs:178](../vm/src/utils.rs)

Release script builds ellie binaries and makes a directory for release. This tool requires deno to be installed.

- ### [ReAssembler](./reAssembler.js)

ReAssembler is a tool for re alligning op codes or addressing modes for instructions. If a modification required in [instructions.cv](../bytecode/instructions.csv) this tool required for modifying following codes:

- HashMap at [instruction_table.rs:13](../bytecode/src/instruction_table.rs)
- Markdown file at [instructions.md](../bytecode/instructions.md)
- Match body at [utils.rs:178](../vm/src/utils.rs)
[Info]: This tool does not modify existing files, it will create new files in the same directory.

- ### OpcodeOrd

Orders opcodes in [instructions.csv](../bytecode/instructions.csv). This tool is useful for ordering instruction op-codes [instructions.md](../bytecode/instructions.md). [Warning]: This tool modifies [instructions.csv](../bytecode/instructions.csv) file.

- ### Cleanup scripts
- clean_up.sh
- clean_up.ps1
They must be called at the root of the project. They will remove all cargo relase and node_modules directories.

- clean_up.sh
- clean_up.ps1
They must be called at the root of the project. They will remove all cargo relase and node_modules directories.

- ### Debug Files (debug_files) directory
This directory contains nothing you can use this directory for debugging also this contents of this directory is ignored by git.

This directory contains nothing you can use this directory for debugging also this contents of this directory is ignored by git.
206 changes: 0 additions & 206 deletions tools/release.js

This file was deleted.

Loading

0 comments on commit 8fa378c

Please sign in to comment.