Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
N
Neos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
love_飞影
Neos
Commits
8fae5c47
Commit
8fae5c47
authored
Mar 14, 2023
by
Chunchi Che
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix ci
parent
12904264
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
6 deletions
+17
-6
.gitlab-ci.yml
.gitlab-ci.yml
+15
-4
package.json
package.json
+2
-2
No files found.
.gitlab-ci.yml
View file @
8fae5c47
...
...
@@ -37,14 +37,25 @@ rs_lint:
-
rustup component add clippy
-
cd rust-src && cargo clippy -- -Dwarnings
np
m_build
:
extends
:
.build_base
was
m_build
:
stage
:
build
image
:
rust:latest
before_script
:
-
curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
script
:
-
cd rust-src && wasm-pack build
artifacts
:
paths
:
-
rust-src/pkg
npm_build
:
extends
:
-
.build_base
-
wasm_build
stage
:
build
tags
:
-
linux
before_script
:
-
curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
script
:
-
mv neos.config.prod.json neos.config.json
-
npm run build:prod
...
...
package.json
View file @
8fae5c47
...
...
@@ -36,8 +36,8 @@
"scripts"
:
{
"wasm"
:
"cd rust-src && wasm-pack build"
,
"dev"
:
"npm run wasm && vite"
,
"build"
:
"
npm run wasm &&
tsc && vite build && cp -r neos-assets dist/"
,
"build:prod"
:
"
npm run wasm &&
tsc && vite build --base=https://cdn02.moecube.com:444/neos/"
,
"build"
:
"tsc && vite build && cp -r neos-assets dist/"
,
"build:prod"
:
"tsc && vite build --base=https://cdn02.moecube.com:444/neos/"
,
"preview"
:
"vite preview"
,
"lint"
:
"eslint --ext .ts --ext .tsx src"
,
"fmt"
:
"eslint --ext .ts --ext .tsx src --fix && cd rust-src && cargo fmt"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment