Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CLI Tool for Build System #1985

Merged
merged 181 commits into from
Aug 9, 2024
Merged
Show file tree
Hide file tree
Changes from 168 commits
Commits
Show all changes
181 commits
Select commit Hold shift + click to select a range
792b97d
Draft of cli based build system
DmitryAstafyev Nov 24, 2023
962d812
Correct error messages
DmitryAstafyev Nov 30, 2023
dd4af6c
Build-CLI: Replace to_string_lossy with display
AmmarAbouZor Dec 2, 2023
f272d41
Build-CLI: Refactor to_relative_path
AmmarAbouZor Dec 2, 2023
e4b777b
Build-CLI: Refactor finding root
AmmarAbouZor Dec 2, 2023
6071ee3
Build-CLI: Refactor Build Command
AmmarAbouZor Dec 2, 2023
bd07982
CLI Wasm: Create wasm module + build command
AmmarAbouZor Dec 30, 2023
6dc897d
CLI Wasm: Prepare the implementation to run tests
AmmarAbouZor Dec 30, 2023
6787d3f
CLI Wasm: Add Wasm module to all targets
AmmarAbouZor Dec 30, 2023
974f4fd
CLI Wasm: Remove TODOs & Add color always
AmmarAbouZor Jan 3, 2024
ca4dc04
CLI Wasm: Add Wasm as dependency to Client Manager
AmmarAbouZor Jan 3, 2024
f43f5a1
CLI Wasm: Implementing running tests
AmmarAbouZor Jan 3, 2024
220132d
CLI Tests: Spawn Options & Suppress msg for wasm
AmmarAbouZor Jan 3, 2024
1cf4132
Build-CLI: Refactoring tracker UI...
AmmarAbouZor Dec 4, 2023
b0817fd
Build-CLI UI: Change jobs placeholder to spaces
AmmarAbouZor Dec 4, 2023
1963678
Add missed script links
DmitryAstafyev Jan 22, 2024
0e4865d
CLI: UI Changes in jobs' bars & Add total time
AmmarAbouZor Jan 26, 2024
1dcf5bb
Refactoring: Define Struct for each job-bar-state
AmmarAbouZor Jan 26, 2024
b58ace6
CLI: Refresh all bars on each job's finish.
AmmarAbouZor Jan 26, 2024
03523fb
CLI: Insert duration bar on each job by shut down
AmmarAbouZor Jan 27, 2024
2e4ffb5
CLI: Update bars on both stdout and stderr
AmmarAbouZor Feb 4, 2024
58b8907
CLI: Update on stdout & stderr: Small refactoring
AmmarAbouZor Feb 5, 2024
ed2664f
CLI: Replace async-std with tokio
AmmarAbouZor Feb 11, 2024
a9305be
CLI: replace bounded with oneshot channels
AmmarAbouZor Feb 11, 2024
5a09c58
Remove TODO after clarification
AmmarAbouZor Feb 17, 2024
2d2b1f1
CLI: Small refactoring using idiomatic rust & TODO
AmmarAbouZor Feb 17, 2024
b4b0e53
Merge branch 'master' into build-cli-tool
AmmarAbouZor Feb 17, 2024
9f0cd6a
CLI: Replace remove_duplicates method with dedup
AmmarAbouZor Feb 17, 2024
e51c562
CLI: Change release flag from u8 to bool
AmmarAbouZor Feb 18, 2024
bc3f4c9
CLI: Small Fixes to commands descriptions
AmmarAbouZor Feb 18, 2024
65b43c7
Changes on the CLI arguments & Commands...
AmmarAbouZor Feb 18, 2024
0138533
CLI: Printing command report (in progress)...
AmmarAbouZor Feb 19, 2024
2be551b
CLI: Writing logs report (in progress)
AmmarAbouZor Feb 19, 2024
061e3fe
CLI: Skip empty results from the report
AmmarAbouZor Feb 20, 2024
d17ca3e
CLI: Improve Report Information and Job Titles
AmmarAbouZor Feb 20, 2024
a465a69
CLI: Fix & Improve Report for build command
AmmarAbouZor Feb 20, 2024
d0ba969
CLI: Improve finding repo root directory
AmmarAbouZor Feb 21, 2024
39835cf
CLI: Replace lazy static with OnceCell for Location
AmmarAbouZor Feb 21, 2024
4d33763
CLI: Remove Lazy-Statics and Replace it with OnceCell
AmmarAbouZor Feb 21, 2024
5f2c3a7
CLI: Replace io::Error with anyhow::Error
AmmarAbouZor Feb 24, 2024
ab66256
CLI: Provide logs for artifacts operations after build
AmmarAbouZor Feb 25, 2024
f89993a
CLI Report: Add new line when needed
AmmarAbouZor Feb 25, 2024
803eb8f
CLI: Changes to improve logs + Fix in test method
AmmarAbouZor Feb 25, 2024
7848d46
CLI: Provide test command for rust core (indexer)
AmmarAbouZor Mar 2, 2024
c8e5307
CLI: Test command for TS bindings (in progress)
AmmarAbouZor Mar 4, 2024
21d47bd
CLI: Investigating test commands error with jobs sepcs
AmmarAbouZor Mar 5, 2024
9adab69
CLI: Run TS bindings tests using Stdio::inherit
AmmarAbouZor Mar 10, 2024
43eeda2
CLI: Replace hard-coded paths with PathBuf::join
AmmarAbouZor Mar 10, 2024
414808a
Merge branch 'master' into build-cli-tool
AmmarAbouZor Mar 10, 2024
8b90388
CLI: Use PathBuf paths in Wrapper & Update Comment
AmmarAbouZor Mar 13, 2024
1a8bd73
CLI: Replace hard-coded path for multi-platform support
AmmarAbouZor Mar 13, 2024
6779974
Merge branch 'master' into build-cli-tool
AmmarAbouZor Apr 15, 2024
3d74b3a
Build CLI: Add documentation & comments
AmmarAbouZor Apr 16, 2024
22294f7
Build CLI is now a cargo extension...
AmmarAbouZor Apr 16, 2024
9049229
Build CLI: Add environment dependencies check.
AmmarAbouZor Apr 16, 2024
2531086
Build CLI: Command for Environment & Improvements
AmmarAbouZor Apr 16, 2024
7749823
Build CLI: Track Builds to prevent duplications
AmmarAbouZor Apr 17, 2024
413356f
Build CLI: Add missing dependency rs-bindings -> Shared(Platform)
AmmarAbouZor Apr 17, 2024
8421321
Build CLI: Add Copy binding & platform to electron
AmmarAbouZor Apr 18, 2024
4674641
Build CLI: Move writing logs to fstools methods
AmmarAbouZor Apr 19, 2024
0f995eb
Build CLI: Improve Error messages
AmmarAbouZor Apr 19, 2024
233765c
Build CLI: Move CLI Arguments to their own module
AmmarAbouZor Apr 19, 2024
79ca717
Build CLI: Run command added
AmmarAbouZor Apr 19, 2024
39489a9
Build CLI: Remove TODO after checks & add comment
AmmarAbouZor Apr 22, 2024
d98f4a9
Build CLI: Add & Implement dir_checksum library
AmmarAbouZor Apr 23, 2024
c85177a
Build CLI: Integration tests for checksum library
AmmarAbouZor Apr 23, 2024
e3a67e2
Build CLI: Rename error type
AmmarAbouZor Apr 24, 2024
8710a09
Build CLI: Add test command to CLI module
AmmarAbouZor Apr 24, 2024
c130717
Build CLI: Checksum Records (in progress)
AmmarAbouZor Apr 24, 2024
27f17ac
Build CLI: Checksum Records & Run tests Production
AmmarAbouZor Apr 24, 2024
dd8d0f3
Build CLI: Clippy fixes
AmmarAbouZor Apr 24, 2024
1844933
Build CLI: Changes & Checksums Integrations
AmmarAbouZor Apr 25, 2024
f798dc5
Build CLI: Fixes for Checksum Integrations
AmmarAbouZor Apr 25, 2024
b404522
Build CLI: Update Checksums with successful jobs only
AmmarAbouZor Apr 25, 2024
f974ec4
Build: Improve error handling for failing commands
AmmarAbouZor Apr 25, 2024
4d0f065
Build CLI: Improve error messages
AmmarAbouZor Apr 25, 2024
c7362ce
Build CLI: Clippy fix
AmmarAbouZor Apr 25, 2024
8cca563
Build CLI: Fixes for Copying files & Install
AmmarAbouZor Apr 25, 2024
29e541a
Build CLI Refactoring: Replacing Trait with Enum
AmmarAbouZor Apr 26, 2024
6b140e3
Build CLI Refactor: Replacing Trait with Enum...
AmmarAbouZor Apr 26, 2024
aa2d8b6
Build CLI Refactor: Replacing Trait with Enum...
AmmarAbouZor Apr 26, 2024
850ba0d
Build CLI Refactor: Replacing Trait with Enum...
AmmarAbouZor Apr 26, 2024
e597e0a
Build CLI Refactor: Replacing Trait with Enum...
AmmarAbouZor Apr 26, 2024
220f29a
Build CLI Refactor: Replacing Trait with Enum...
AmmarAbouZor Apr 26, 2024
baaedb5
Build CLI Refactor: Replacing Trait with Enum...
AmmarAbouZor Apr 26, 2024
66c0bc1
Build CLI Refactor: Replacing Trait with Enum...
AmmarAbouZor Apr 26, 2024
5806a67
Build CLI Refactor: Replacing Trait with Enum...
AmmarAbouZor Apr 26, 2024
eead200
Build CLI Refactor: Replacing Trait with Enum...
AmmarAbouZor Apr 26, 2024
ab945af
Build CLI Refactor: Replacing Trait with Enum...
AmmarAbouZor Apr 26, 2024
8f2b595
Build CLI Refactor: Replacing Trait with Enum...
AmmarAbouZor Apr 26, 2024
8ea5446
Build CLI Refactor: Replace Trait with Enum (done)
AmmarAbouZor Apr 26, 2024
3d915bf
Add changes for arm64 build and CI
itsmesamster Apr 23, 2024
99df731
Bypass fetching the architecture on Windows machine
itsmesamster Apr 24, 2024
9c9a0e0
Resolve PR comments
itsmesamster Apr 25, 2024
38d4017
Up to 3.12.5
DmitryAstafyev Apr 26, 2024
23cfcad
Build CLI: Print env dependencies infos
AmmarAbouZor Apr 29, 2024
3ad2190
Build CLI: Add Updater to Targets
AmmarAbouZor Apr 29, 2024
dd437df
Build CLI: `Print Dot` Command for dependencies graph
AmmarAbouZor Apr 29, 2024
a10e9f0
Merge branch 'master' into build-cli-tool
AmmarAbouZor Apr 29, 2024
1a28826
Build CLI: Add README & Link it in Contribution.md
AmmarAbouZor Apr 29, 2024
619c341
Build CLI: Add 'list' alias env print command
AmmarAbouZor Apr 29, 2024
862bee6
Build CLI: Provide different node cmds on Windows
AmmarAbouZor Apr 29, 2024
5c593a2
Bulid CLI: Define & Resolve Development Tools
AmmarAbouZor Apr 30, 2024
21703ed
Build CLI: Fix script file name on Windows
AmmarAbouZor Apr 30, 2024
13b65e7
Build CLI: Fix run app command on Windows
AmmarAbouZor Apr 30, 2024
4eee7a4
Build CLI: Add Documentation & Comments
AmmarAbouZor Apr 30, 2024
c75532c
Build CLI: Remove unused argument in tracker
AmmarAbouZor Apr 30, 2024
c040de8
Build CLI Refactor: Return slice instead of vector
AmmarAbouZor Apr 30, 2024
ad41926
Build CLI: Add needed env vars to commands only
AmmarAbouZor May 1, 2024
d77af16
Build CLI: Add command to reset checksum records
AmmarAbouZor May 2, 2024
870494d
Build CLI: Provide shell completion command
AmmarAbouZor May 2, 2024
a591938
Build CLI: Add shell completion to README
AmmarAbouZor May 2, 2024
1eb6be3
Build CLI: Call reinstall TS in prod before copy
AmmarAbouZor May 6, 2024
426b0a9
Build CLI: Replace Unwrap & implicit expect message
AmmarAbouZor May 28, 2024
9b27f1c
Build CLI: Use Rayon default thread pool
AmmarAbouZor May 28, 2024
5557bce
Build CLI: Replace spawn empty result with option
AmmarAbouZor May 29, 2024
1658942
Build CLI Tracker: Replace HashMap with Vector
AmmarAbouZor May 29, 2024
423c4a8
CLI: Rewriting To Solve Dependencies upfront..
AmmarAbouZor May 29, 2024
3cda884
CLI: Rewriting To Solve Dependencies upfront..
AmmarAbouZor May 31, 2024
362bec7
CLI: Rewriting To Solve Dependencies upfront..
AmmarAbouZor May 31, 2024
c9e09ff
CLI: Rewriting To Solve Dependencies upfront..
AmmarAbouZor May 31, 2024
4468322
CLI: Rewriting To Solve Dependencies upfront..
AmmarAbouZor Jun 3, 2024
e6d882c
CLI: Rewriting To Solve Dependencies upfront..
AmmarAbouZor Jun 3, 2024
0f61f21
CLI: Rewriting To Solve Dependencies upfront..
AmmarAbouZor Jun 3, 2024
086f557
CLI: Rewriting To Solve Dependencies upfront..
AmmarAbouZor Jun 4, 2024
2610764
CLI: Rewriting To Solve Dependencies upfront..
AmmarAbouZor Jun 4, 2024
0b0ac89
CLI: Rewriting To Solve Dependencies upfront..
AmmarAbouZor Jun 4, 2024
8502698
CLI: Rewriting To Solve Dependencies upfront..
AmmarAbouZor Jun 4, 2024
e5dfe68
Build CLI: Adjust App Dependencies
AmmarAbouZor Jun 4, 2024
55fbb3a
Build CLI: Run jobs concurrently
AmmarAbouZor Jun 5, 2024
91d75f3
Build CLI: Remove TODOs & Clippy fixes
AmmarAbouZor Jun 6, 2024
22364a4
Build CLI: Remove redundant async move block
AmmarAbouZor Jun 6, 2024
0abd9b7
Build CLI Cleaning up: Visibilities & Tracker print
AmmarAbouZor Jun 6, 2024
ce5b895
Build CLI: Add missing documentations & Rename
AmmarAbouZor Jun 6, 2024
9aa6c49
Merge branch 'master' into build-cli-tool
AmmarAbouZor Jun 6, 2024
f06e10d
Build CLI: Adjustments for using Yarn 4 after merge
AmmarAbouZor Jun 6, 2024
7b8c7e0
Build CLI: Run missing Yarn install command for Wasm
AmmarAbouZor Jun 6, 2024
b14819c
Build CLI: Add missing paths to clean command
AmmarAbouZor Jun 6, 2024
8943884
Build CLI: Solve Build TS targets with Linting
AmmarAbouZor Jun 6, 2024
3a9171f
Build CLI: Define commands and their args explicitly
AmmarAbouZor Jun 7, 2024
90ddfde
Build CLI: More Comments & Documentations
AmmarAbouZor Jun 14, 2024
9a6ecd2
Build CLI: Replace tokio::OnceCell with OnceLock
AmmarAbouZor Jul 1, 2024
9fc9c32
Build CLI: Clean Integration tests & Fix clean Wasm
AmmarAbouZor Jul 22, 2024
dbbbf19
Build CLI: Integration tests for Test command
AmmarAbouZor Jul 22, 2024
d535666
Build CLI: Integration tests for Build command
AmmarAbouZor Jul 22, 2024
9cdb416
fBuild CLI: Integration tests for Checksum Checks
AmmarAbouZor Jul 22, 2024
9a96d91
Build CLI: Integration tests for Lint command
AmmarAbouZor Jul 22, 2024
7e4b7ba
Build CLI Tests: Environment & Print_dot & Shell completion
AmmarAbouZor Jul 22, 2024
6f7c806
Build CLI: Integration tests for reset checksum
AmmarAbouZor Jul 22, 2024
6ec3505
Build CLI: documentation for Integration tests
AmmarAbouZor Jul 22, 2024
dd29c78
Build CLI: Clippy Fix
AmmarAbouZor Jul 22, 2024
66fdeca
Build CLI Integ Tests: Refactoring & Improvements
AmmarAbouZor Jul 23, 2024
bec1a75
Build CLI Integration Tests: Run all tests
AmmarAbouZor Jul 23, 2024
36bee57
Merge branch 'master' into build-cli-tool
AmmarAbouZor Jul 23, 2024
f42fed4
Clippy Fixes for Windows.
AmmarAbouZor Jul 23, 2024
307f0aa
Build CLI Integ test: Improve checksum test
AmmarAbouZor Jul 23, 2024
d8f38b7
Build CLI Integ test: Fix files modification time
AmmarAbouZor Jul 23, 2024
df8f588
Build CLI Integ test: Fix checksum test
AmmarAbouZor Jul 24, 2024
7e3bf46
Build CLI: Fix running wrapper tests on Windows
AmmarAbouZor Jul 24, 2024
0f710fa
Build CLI: Add integration tests to README
AmmarAbouZor Jul 24, 2024
d5bbbdf
Build CLI: Fix bindings tests on Windows
AmmarAbouZor Jul 24, 2024
c9f9897
Build CLI Integ Tests: Comments & Cleaning Up
AmmarAbouZor Jul 24, 2024
b94bddc
Build CLI: Clippy Fixes with docs indentation
AmmarAbouZor Jul 26, 2024
27c5707
Build CLI: Basic integrations in CI system
AmmarAbouZor Jul 30, 2024
c391944
Build CLI: Fix install in production issue
AmmarAbouZor Jul 30, 2024
3bb57c3
Build CLI: Remove checksum of opposite build
AmmarAbouZor Jul 30, 2024
cc7814c
Build CLI: Update dependencies
AmmarAbouZor Jul 31, 2024
d7ee117
Build CLI: Move created CI jobs to their own action
AmmarAbouZor Aug 2, 2024
d5ebd9a
Build CLI: Enum instead of boolean for checksum
AmmarAbouZor Aug 6, 2024
d7b53be
Build CLI: Remove build steps from tests & refactoring
AmmarAbouZor Aug 6, 2024
fde21f2
Build CLI: Handle match branches explicitly
AmmarAbouZor Aug 6, 2024
e332dfe
Build CLI: Remove unused async on functions
AmmarAbouZor Aug 6, 2024
b0e7099
Build CLI: Value instead of reference for small enums
AmmarAbouZor Aug 6, 2024
199be8a
Build CLI: Comments for Match Arms & Clippy Fixes
AmmarAbouZor Aug 6, 2024
8b3a84f
Build CLI: Rename dev_tools functions names
AmmarAbouZor Aug 7, 2024
b03df95
Build CLI: Dir Check: Integration tests fixes
AmmarAbouZor Aug 7, 2024
edf4893
Build CLI: Add missing documentation
AmmarAbouZor Aug 7, 2024
1851c6f
Build CLI: Function yarn command & Code comments
AmmarAbouZor Aug 7, 2024
8f46ee2
Build CLI: Enable kill on drop for async commands
AmmarAbouZor Aug 7, 2024
aeb2a2c
Build CLI Refactoring: Use {..} in Match patterns
AmmarAbouZor Aug 8, 2024
513ebe0
Merge branch 'master' into build-cli-tool
AmmarAbouZor Aug 9, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
59 changes: 59 additions & 0 deletions .github/workflows/build_cli_checks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
# This action runs the checks for pull requests using the build CLI Tool.
name: Build CLI Tool Checks

# Using the tool in GitHub Actions stills work in progress and will be invoked manually
# until it's ready to replace the current rake workflows.
on:
workflow_dispatch:

jobs:
all_lint:
name: Run all lints using CLI tool
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Latest Rust
run: |
rustup update --no-self-update ${{ env.RUST_CHANNEL }}
rustup default ${{ env.RUST_CHANNEL }}
- name: Rust Cache
uses: Swatinem/[email protected]
- name: Install wasm-pack
run: cargo install wasm-pack
- name: Install nj-cli
run: cargo install nj-cli
- name: Install Build CLI tool
run: cargo install --path=cli
- name: libudev-dev
run: sudo apt-get install -y libudev-dev
- name: enable corepack for yarnpkg upgrade
run: corepack enable
- name: Run Lints
run: cargo chipmunk lint -r
all_test:
name: Run all tests using CLI tool
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Latest Rust
run: |
rustup update --no-self-update ${{ env.RUST_CHANNEL }}
rustup default ${{ env.RUST_CHANNEL }}
- name: Rust Cache
uses: Swatinem/[email protected]
- name: Install wasm-pack
run: cargo install wasm-pack
- name: Install nj-cli
run: cargo install nj-cli
- name: Install Build CLI tool
run: cargo install --path=cli
- name: libudev-dev
run: sudo apt-get install -y libudev-dev
- name: enable corepack for yarnpkg upgrade
run: |
npm install tslib
corepack enable
- name: Run Tests
run: cargo chipmunk test -r
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -71,4 +71,8 @@ application/sandbox/serial/render/lib/views/dialog/port.available
sandbox
sandbox.backup
**/holder/release
scripts/tools/file_checklists/*.*
scripts/tools/file_checklists/*.*

# CLI build tool files #
########################
.build_chksum_*
3 changes: 0 additions & 3 deletions application/apps/indexer/sources/src/command/process.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@ use tokio::{
use tokio_stream::StreamExt;
use tokio_util::codec::{self, FramedRead, LinesCodec};

#[cfg(windows)]
use std::os::windows::process::CommandExt;

lazy_static! {
static ref GROUP_RE: Regex =
Regex::new(r#"".*?""#).expect("Regex must compile (fail with GROUP_RE)");
Expand Down
2 changes: 2 additions & 0 deletions application/apps/indexer/sources/src/serial/serialport.rs
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,8 @@ impl SerialSource {
.stop_bits(stop_bits(&config.stop_bits))
.open_native_async()
{
// We get warning on windows because `port` doesn't need to be mutated there
#[cfg_attr(windows, allow(unused_mut))]
Ok(mut port) => {
#[cfg(unix)]
if let Err(err) = port.set_exclusive(config.exclusive) {
Expand Down
1 change: 1 addition & 0 deletions application/apps/rustcore/ts-bindings/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"types": "./dist/index.d.ts",
"scripts": {
"build": "node_modules/.bin/tsc -p tsconfig.json",
"prod": "node_modules/.bin/tsc -p tsconfig.json",
"test_cancel": "node_modules/.bin/electron node_modules/jasmine-ts/lib/index.js ./spec/session.cancel.spec.ts",
"lint": "node_modules/.bin/eslint . --ext .ts --max-warnings=0",
"check": "node_modules/.bin/tsc -p tsconfig.json --noemit"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ describe('Jobs', function () {
it(config.regular.list[4], function () {
return runner(config.regular, 4, async (logger, done, collector) => {
const jobs = collector(await Jobs.create()) as Jobs;
//TODO: If we comment out these lines, build CLI with Stdio::piped() works.
const profiles = await jobs.getShellProfiles();
expect(profiles.length > 0).toBe(true);
finish(jobs, done);
Expand Down
3 changes: 2 additions & 1 deletion application/apps/rustcore/wasm-bindings/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
"scripts": {
"build": "node_modules/.bin/webpack",
"start": "node_modules/.bin/webpack-dev-server",
"test": "node_modules/.bin/karma start"
"test": "node_modules/.bin/karma start",
"test_win": "node_modules\\.bin\\karma start"
},
"author": "",
"license": "MIT",
Expand Down
1 change: 1 addition & 0 deletions application/holder/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@
"electron": "npm run build && ./node_modules/.bin/electron --inspect ./dist/app.js",
"electron-win": "node_modules/.bin/electron --inspect ./dist/app.js",
"build": "node_modules/.bin/tsc -p tsconfig.json",
"prod": "node_modules/.bin/tsc -p tsconfig.json",
"start": "npm run build-ts && npm run electron",
"postinstall": "electron-builder install-app-deps",
"build-darwin-arm64": "node_modules/.bin/electron-builder --mac --dir --config=./electron.config.darwin.arm64.json",
Expand Down
1 change: 1 addition & 0 deletions application/platform/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
},
"scripts": {
"build": "node_modules/.bin/tsc -p tsconfig.json",
"prod": "node_modules/.bin/tsc -p tsconfig.json",
"lint": "node_modules/.bin/eslint . --ext .ts --max-warnings=0 ",
"check": "node_modules/.bin/tsc -p tsconfig.json --noemit"
},
Expand Down
6 changes: 6 additions & 0 deletions cli/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
/target
**/*.rs.bk
*.out
lineMetadata.json
vim-markdown-preview.html
.DS_Store
Loading
Loading