Commit graph

977 commits

Author SHA1 Message Date
Martin Pitt
c99c9e2d38 Makefile: Run npm install when necessary
Also mark phony targets as such.
2018-03-09 10:13:03 +01:00
Martin Pitt
baf392e7e8 gitignore: Add package-lock.json and release tarballs/rpms 2018-03-09 10:13:03 +01:00
Lars Karlitski
d616952c8c Add .travis.yml (#15) 2017-10-19 17:54:52 +02:00
Lars Karlitski
b348bee798 Remove temporary build directories (#13) 2017-10-19 17:54:36 +02:00
Lars Karlitski
03217f7fe8 Consistently name everything [cockpit-]starter-kit (#14) 2017-10-19 17:54:12 +02:00
Marius Vollmer
463f76a318 Use official "cockpit-manifest" launchable type
The "cockpit-package" type was only a proposal.

Fixes #7
Closes #12
2017-10-19 16:05:49 +02:00
Lars Karlitski
fb3ce721b2 Use proper es6 import syntax 2017-10-18 19:12:56 +02:00
Lars Karlitski
6bfe20fdcc Dist using git ls-files
This makes sure we always include all files in the repository when
disting.

Obsoletes webpack-with-stats, which had a bug anyway: it wasn't
reporting jslint errors.
2017-10-18 19:12:56 +02:00
Lars Karlitski
bd26aeda57 Move and update documentation (#10)
Also remove yarn.lock to simplify getting started.
2017-10-18 16:47:48 +02:00
Lars Karlitski
8ff4b33bb5 Clean up StarterKit view
And show the contents of `/etc/hostname` to make sure cockpit.js is
loaded correctly.
2017-10-18 16:42:54 +02:00
Lars Karlitski
ce7a2d3870 Remove the index.js indirection
Make index.es6 the main entry point.
2017-10-18 16:42:54 +02:00
Lars Karlitski
95bccc2e53 vagrant: bump base box to fedora 26 2017-10-18 16:42:54 +02:00
Lars Karlitski
dd765787e8 Remove all remaining mentions of "subscriptions" 2017-10-18 16:42:54 +02:00
Marius Vollmer
4aa750a0fe Improve source package slightly
This moves us one step closer to a normal source package.  The sources
are now unpacked and we run "make install".  We still don't build
since we don't have all the necessary tools.

Also, most importantly, the source tarball now includes our actual
sources in addition to the prebuilt binaries.
2017-09-11 10:43:48 +02:00
Paul Wright
78bdbad324 correct error in command
change 'ln -s ln -s' (typo)
to 'ln -s'
2017-08-21 10:28:04 +02:00
Dominik Perpeet
109bff79e5 Update docs with build information 2017-07-26 10:33:14 +02:00
Dominik Perpeet
26a7c0154c Compress distributed files 2017-07-26 10:33:14 +02:00
Dominik Perpeet
23f2f16715 Automatically minify js files for distribution 2017-07-26 10:33:14 +02:00
Dominik Perpeet
a01820e565 Add more sample content to subscriptions page 2017-07-26 10:33:14 +02:00
Dominik Perpeet
045fefb806 Add more rpm options to Makefile 2017-07-26 10:33:14 +02:00
Lars Karlitski
5a42eae90f vagrant: create dist/ if it doesn't exist
Also show a warning if dist is empty.
2017-07-11 17:13:10 +02:00
Lars Karlitski
e14982020a Add Vagrantfile
A simple Vagrant VM based on fedora 25 cloud. It syncs `dist` to
`/usr/local/share/cockpit/<dirname>` on the VM.

Also decrease the minimum required version in `manifest.json` to match
the one that's currently in fedora 25.
2017-07-11 17:13:10 +02:00
Dominik Perpeet
6f4a5a62ae Add Makefile and spec file
This is to build an srpm and for convenience.

Options for make: all, clean, install, srpm
2017-06-20 07:41:52 -04:00
Dominik Perpeet
2f49b57064 Add sample page 2017-06-20 07:41:52 -04:00
Dominik Perpeet
3f7ac60374 build: Update webpack config
Make building more convenient, add linting and distribute html files.
2017-06-20 07:41:52 -04:00
Sean Toner
811e3eebe0 initial commit. Created a basic webpack.config.js file, some basic .babelrc settings, and some notes on the build 2017-06-20 07:41:52 -04:00
Dominik Perpeet
9e6b2b9d6e Initial commit with a LICENSE and README 2017-06-14 18:19:15 +02:00