Commit Graph

20 Commits (670bc47fe23c95ca17fcb69978d726ba9ea6f1ac)

Author SHA1 Message Date
Lena 250b9d7c21
scripts: use `[[` instead of `[`, fix literal shell globs (#11290)
* build.sh: move `*` outside quotes (it doesn't get expanded)

* scripts: use `[[` instead of `[` in if statements
2023-10-26 22:11:24 +05:30
Lena 5e1ae7dbbe
fix/scripts: remove unnecessary `-r` from `cp` (#11210) 2023-10-24 16:44:27 +05:30
K.B.Dharun Krishna a8d6441ad1
fix/scripts: replace build assets symlink with copy (#11205) 2023-10-24 11:17:53 +02:00
Lena af2f6d9d3e
Symlink `pages.en` to `pages` (#11139)
* Symlink `pages.en` to `pages`

* Update `build.sh` to symlink `pages.en` to `pages`
2023-10-21 22:02:19 +02:00
Adam Henley 8aacd0800b
feature support: provide translation archives (#10555)
* Feature Support Download Of Individual Languages By Clients

Signed-off-by: Adam Henley <adamazing@gmail.com>

* Rename language archival step function

Co-authored-by: Jack Lin <blueskyson1401@gmail.com>

---------

Signed-off-by: Adam Henley <adamazing@gmail.com>
Co-authored-by: Jack Lin <blueskyson1401@gmail.com>
2023-08-16 10:39:53 +05:30
a1346054 5c62e303b5
*: shellcheck and fix typos (#6526)
* test.sh: quote a variable

* contributing-guides/*: fix typos

* pages/*: fix typos

* scripts/*: fix typos

* MAINTAINERS.md: trim trailing whitespace

Co-authored-by: a1346054 <36859588+a1346054@users.noreply.github.com>
2021-09-16 00:32:13 -03:00
CleanMachine1 6637acf662
scripts: add SPDX-License-Identifier in files (#6215) 2021-07-16 14:15:31 +01:00
bl-ue d607f853be
scripts/*.sh: set executable permission (#5461)
In most repos, executable shell scripts have the executable bit set.
2021-03-31 00:32:17 +01:00
Matthew Peveler 549e69573b
remove duplicate pages/index.json file (#5063) 2021-01-02 09:53:39 -05:00
Owen Voke 7472600aa1 Update Travis references in scripts 2020-06-26 18:55:59 +02:00
Marco Bonelli 7a28aef527 Copy index.json in build script, not npm script
Move the duplication of the index.json file in the build.sh script instead of
the npm build-index script. This makes things cleaner.
2019-11-29 16:01:25 +00:00
Marco Bonelli a188a3a8ca Travis: separate building from deployment.
- Added `-q` to the zip command to create the archive since Travis
  was having trouble handling its very long output (thus making
  the build fail).
- Moved the actual building of the index and the archive from
  deploy.sh to a new build.sh script.
- Added a `script` step in .travis.yml to run build.sh after npm
  test.
- Specified a clone depth of 1 in .travis.yml to make things faster
  since we don't need to do any git operation during the build.
2019-07-11 17:01:05 +05:30
Marco Bonelli d83f446a8c Cleaner deployment process (fixes #2749) (#2750)
* TravisCI: cleaner deployment process.

* TravisCI: rename deployment script.
2019-02-04 19:29:17 +05:30
Agniva De Sarker 1e28a0cbc0 [Security]: Moving to a secure way of uploading assets (#2747)
* [Security] Moving to a secure way of uploading assets
2019-02-03 14:57:35 +01:00
Arun Isaac 6bfdbef312 TravisCI: include pages of all languages in archive (PR #2567) 2018-11-09 09:57:04 +00:00
Agniva De Sarker fa3828cf10 add documentation about Travis token (#1902) 2018-01-18 16:08:23 +00:00
Krishna Jangid 91938046f2 Update build.sh (#1483)
Made changes in line 36
2017-09-12 11:11:28 +01:00
Igor Shubovych 72196b030d Use NodeJS NPM package markdownlint instead of Ruby gem mdl 2016-01-19 22:28:54 +02:00
Igor Shubovych 1c0b27edc1 TravisCI: update secure token, refactor and fix build script to correctly fail on error 2015-12-05 01:09:18 +02:00
Igor Shubovych f1d3e87069 Travis CI integration: automatic linting, rebuilding index.json, building pages archive, and little other improvements 2015-12-04 16:54:05 +02:00