Skip to content

Commit

Permalink
Merge pull request #1137 from Dyalog/remove_gen_css
Browse files Browse the repository at this point in the history
Remove compiled css from repo
  • Loading branch information
e9gille authored Sep 13, 2023
2 parents 58713ec + 5b2f6f9 commit 4e8a855
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 3,998 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,5 @@ ship/
GH-Releases.json
test.dws
yarn.lock
style/ride-base.css
style/*-theme.css
4 changes: 2 additions & 2 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ pipeline {
checkout scm
sh 'rm -Rf _ ship'
sh 'npm i'
sh './mk l a w'
sh 'npm run build l a w'
sh './CI/publish.sh'
stash name: 'ride-win', includes: '_/ride*/Ride-*-win32-ia32/**'
stash name: 'ride-linux', includes: '_/ride*/Ride-*-linux*/**'
Expand Down Expand Up @@ -49,7 +49,7 @@ pipeline {
steps {
sh 'rm -Rf _ ship'
sh 'npm i'
sh './mk o'
sh 'npm run build o'
withCredentials([usernamePassword(credentialsId: '868dda6c-aaec-4ee4-845a-57362dec695b', passwordVariable: 'APPLE_APP_PASS', usernameVariable: 'APPLE_ID')]) {
sh './CI/packagescripts/osx/packageOSX.sh'
}
Expand Down
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,13 @@
"productName": "Ride-4.5",
"scripts": {
"start": "electron .",
"dev": "npm run build-css && npm run start",
"dev": "npm run css && npm run start",
"styler": "electron ./utils/style-picker/style-picker.js",
"css": "grunt less",
"live-style": "grunt",
"test": "ava -s -c=1"
"test": "ava -s -c=1",
"build": "npm run css && node ./mk",
"clean": "node ./mk c"
},
"repository": ".",
"dependencies": {
Expand Down
14 changes: 8 additions & 6 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,18 @@ Install [Git](https://git-scm.com/downloads) and [NodeJS v18.17.0](https://nodej

git clone https://github.com/dyalog/ride --depth=1
cd ride
npm i # download dependencies
npm start # start RIDE (without building native apps)
node mk dist # build native apps under _/ride${version}/
node mk c # cleans your build directory
npm i # download dependencies
npm run css # compile css
npm run dev # compile css and start RIDE
npm start # start RIDE (without building native apps)
npm run build dist # compile css and build native apps under _/ride${version}/
npm run clean # cleans your build directory

`node mk dist` builds for all platforms.
`npm run build dist` builds for all platforms.

You can also build platforms separately:

node mk {CODE}
npm run build {CODE}

where `{CODE}` is one of

Expand Down
Loading

0 comments on commit 4e8a855

Please sign in to comment.