Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
duniter
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
nodes
typescript
duniter
Commits
3f4bea9e
Commit
3f4bea9e
authored
4 years ago
by
Éloïs
Browse files
Options
Downloads
Patches
Plain Diff
[build] create bash script to build rust code & build in debug on dev
parent
dd79fa80
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
neon/build.sh
+12
-0
12 additions, 0 deletions
neon/build.sh
neon/native/artifacts.json
+1
-1
1 addition, 1 deletion
neon/native/artifacts.json
package.json
+2
-2
2 additions, 2 deletions
package.json
with
15 additions
and
3 deletions
neon/build.sh
0 → 100755
+
12
−
0
View file @
3f4bea9e
#!/bin/bash
cd
neon
if
[
"
${
NODE_ENV
}
"
=
"production"
]
then
neon build
--release
else
neon build
fi
cd
..
\ No newline at end of file
This diff is collapsed.
Click to expand it.
neon/native/artifacts.json
+
1
−
1
View file @
3f4bea9e
{
"active"
:
"release"
,
"targets"
:{
"debug"
:{
"rustc"
:
""
,
"env"
:{
"npm_config_target"
:
null
,
"npm_config_arch"
:
null
,
"npm_config_target_arch"
:
null
,
"npm_config_disturl"
:
null
,
"npm_config_runtime"
:
null
,
"npm_config_build_from_source"
:
null
,
"npm_config_devdir"
:
null
}},
"release"
:{
"rustc"
:
""
,
"env"
:{
"npm_config_target"
:
null
,
"npm_config_arch"
:
null
,
"npm_config_target_arch"
:
null
,
"npm_config_disturl"
:
null
,
"npm_config_runtime"
:
null
,
"npm_config_build_from_source"
:
null
,
"npm_config_devdir"
:
null
}}}}
{
"active"
:
"debug"
,
"targets"
:{
"debug"
:{
"rustc"
:
""
,
"env"
:{
"npm_config_target"
:
null
,
"npm_config_arch"
:
null
,
"npm_config_target_arch"
:
null
,
"npm_config_disturl"
:
null
,
"npm_config_runtime"
:
null
,
"npm_config_build_from_source"
:
null
,
"npm_config_devdir"
:
null
}},
"release"
:{
"rustc"
:
""
,
"env"
:{
"npm_config_target"
:
null
,
"npm_config_arch"
:
null
,
"npm_config_target_arch"
:
null
,
"npm_config_disturl"
:
null
,
"npm_config_runtime"
:
null
,
"npm_config_build_from_source"
:
null
,
"npm_config_devdir"
:
null
}}}}
\ No newline at end of file
\ No newline at end of file
This diff is collapsed.
Click to expand it.
package.json
+
2
−
2
View file @
3f4bea9e
...
@@ -29,8 +29,8 @@
...
@@ -29,8 +29,8 @@
"doc"
:
"typedoc --out typedoc/ index.ts app/ --mode file --readme README.md --includeDeclarations --sourcefile-url-prefix
\"
https://git.duniter.org/nodes/typescript/duniter/blob/loki/
\"
"
,
"doc"
:
"typedoc --out typedoc/ index.ts app/ --mode file --readme README.md --includeDeclarations --sourcefile-url-prefix
\"
https://git.duniter.org/nodes/typescript/duniter/blob/loki/
\"
"
,
"test"
:
"nyc --reporter html mocha"
,
"test"
:
"nyc --reporter html mocha"
,
"start"
:
"node bin/duniter start"
,
"start"
:
"node bin/duniter start"
,
"build"
:
"
cd neon &&
neon
build
--release
&& cd.. && tsc && cd
\"
../node_modules/duniter-ui
\"
&& npm install && npm run build"
,
"build"
:
"
./
neon
/
build
.sh
&& cd.. && tsc && cd
\"
../node_modules/duniter-ui
\"
&& npm install && npm run build"
,
"install"
:
"
cd neon &&
neon
build
--release
"
,
"install"
:
"
./
neon
/
build
.sh
"
,
"lint"
:
"lint-staged"
,
"lint"
:
"lint-staged"
,
"prettier"
:
"prettier --write app/**/*/*.ts"
,
"prettier"
:
"prettier --write app/**/*/*.ts"
,
"reformat"
:
"eslint --cache --fix app/**/*/*.ts"
,
"reformat"
:
"eslint --cache --fix app/**/*/*.ts"
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment