thomcatdotrocks
02ca5011a3
Updating package.sh
...
This should correct the tarball structure from `riot-$version` to `element-$version`.
2 years ago
Travis Ralston
ec66069e96
Update build scripts for new process
...
We have to convert *something* to TypeScript so it doesn't complain that there's nothing to compile, so this converts the easiest utility library.
Many of the scripts are copied from the react-sdk.
3 years ago
David Baker
c62da0eda6
Don't fail if there's no local config to remove
...
The script has a set -e so don't fail if there's nothing to rm
3 years ago
J. Ryan Stinnett
8002d98f50
Remove config.json from package dir
3 years ago
J. Ryan Stinnett
1312ba537a
Update scripts and docs to use `yarn` where appropriate
...
Most `npm` operations are replaced with `yarn`, which generally has better
behavior. However, steps like publish that write to the NPM registry are left to
`npm`, which currently handles these tasks best.
3 years ago
David Baker
53e25ff247
Set a resuire alias for the webapp directory
...
So languagehandler can pull the languages json from there
3 years ago
J. Ryan Stinnett
09b17f77c2
Fix language file path for Jenkins
...
Jenkins seems to use a different layout of the repos than other environments.
The sub-projects are cloned inside of the `riot-web` workspace. To account for
this, we need to adjust the Riot language file path.
4 years ago
Michael Telatynski
cef26a5b20
fix #3894
5 years ago
Michael Telatynski
f248477f82
stage 0.5 rebrand (rename dist release)
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
5 years ago
Michael Telatynski
61c338a233
remove leading v in /version file so its semver
...
and also then consistent with electron versioning
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
5 years ago
Richard van der Hoff
9ce2adceef
Include config.sample.json in dist tarball
...
Fixes https://github.com/vector-im/vector-web/issues/2607
6 years ago
David Baker
6e47d2f1b5
It's '=' in sh, not '=='
6 years ago
David Baker
3b06563960
Fix jenkins script / redeployer
...
and make them re-use the package script rather than doing their
own thing
6 years ago
David Baker
5b7f629996
Build to the 'webapp' directory instead
...
People may have config files in vector/ so it would be nonideal
if we started overwriting them / blowing them away.
6 years ago
David Baker
f5d95f7314
Use an env var for the package version
...
Because supplying arguments to npm scripts is a bad idea: it just
appends the arguments blindly to whatever the command was. Thanks,
npm.
6 years ago
David Baker
d04cc03c1c
Take version from first arg, if given
6 years ago
David Baker
f17e851435
Rename the package script/output dir to 'dist'
...
To match conventions from other projects and match the release
script which expects releasde artefacts in dist/
6 years ago
David Baker
fa322e8488
Auto-create a sensible version file. Copy the vector dir so we can put it in there rather than creating files in the main vector dir.
7 years ago
David Baker
874123bbfa
Move package script out and make it tar into a versioned top level directory. It may as well be a shell script since it's unix specific anyway, and maintaining it inside package.json is now impractical.
7 years ago