Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
nghyd
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
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Cassiopée
nghyd
Commits
1368b729
Commit
1368b729
authored
5 years ago
by
mathias.chouet
Browse files
Options
Downloads
Patches
Plain Diff
Update README and package.json
parent
14482da4
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
README.md
+6
-13
6 additions, 13 deletions
README.md
package.json
+1
-1
1 addition, 1 deletion
package.json
with
7 additions
and
14 deletions
README.md
+
6
−
13
View file @
1368b729
...
...
@@ -196,7 +196,7 @@ Custom Material SVG Icons will only show up when the application is deployed on
# Build under Windows
Several npm scripts of
`package.json`
won't work with windows (for ex. "
preproces
s"). Building is a little more complicated.
Several npm scripts of
`package.json`
won't work with windows (for ex. "
mkdoc
s"). Building is a little more complicated.
### install dependencies
*
Git, for example
[
https://gitforwindows.org
](
https://gitforwindows.org
)
...
...
@@ -209,13 +209,7 @@ Clone `jalhyd` repository.
Install packages with
`npm install`
.
As
`preprocess`
does not work, copy
`src/date_revision.ts`
file from a linux build, or create it with the following (example) content :
```
typescript
export
const
jalhydDateRev
=
"
2019-05-24
"
;
export
const
jalhydVersion
=
"
stable-105-gdfc538b
"
;
```
As
`mkdocs`
does not work, copy
`src/assets/docs-fr`
folder
**from a linux build**
.
Run
`npm run preprocess`
Compile jalhyd with
`tsc --p "src/tsconfig.app.json"`
...
...
@@ -224,11 +218,10 @@ Clone `nghyd` repository.
Install packages with
`npm install`
.
As
`preprocess`
does not work, copy
`src/date_revision.ts`
file from a linux build, or create it with the following (example) content :
```
typescript
export
const
nghydDateRev
=
"
2019-05-28
"
;
export
const
nghydVersion
=
"
4.3.0-119-ga6ef812
"
;
```
Run
`node preprocessors.js`
As
`mkdocs`
does not work, copy
`src/assets/docs-fr`
folder
**from a linux build**
.
Compile nghyd with
`ng build --prod --build-optimizer=false`
...
...
This diff is collapsed.
Click to expand it.
package.json
+
1
−
1
View file @
1368b729
...
...
@@ -18,7 +18,7 @@
"build"
:
"npm run preprocess && ng build --prod --build-optimizer=false"
,
"build-cordova"
:
"npm run preprocess && ng build --prod --build-optimizer=false && npm run update-dist-index-mimetypes && npm run add-cordova-js"
,
"add-cordova-js"
:
"sed -i '/<
\\
/title>/a <script type=
\"
text/javascript
\"
src=
\"
cordova.js
\"
></script>' dist/index.html"
,
"update-dist-index-mimetypes"
:
"node
js
./update-dist-index-mimetypes.js"
,
"update-dist-index-mimetypes"
:
"node ./update-dist-index-mimetypes.js"
,
"release-linux"
:
"npm run build && npm run update-dist-index-mimetypes && electron-builder"
,
"release-windows"
:
"rd /s /q release & ng build --prod --build-optimizer=false && npm run update-dist-index-mimetypes && npm run electron-builder"
,
"release-android"
:
"npm run build-cordova && cordova platform add android; rm dist/assets/docs-fr/sitemap.xml.gz && cordova build android && mv platforms/android/app/build/outputs/apk/debug/app-debug.apk release/cassiopee.apk"
,
...
...
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