/simpletypesystem/trunk

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/simpletypesystem/trunk

« back to all changes in this revision

Viewing changes to README

  • Committer: Gustav Hartvigsson
  • Date: 2016-02-01 20:45:30 UTC
  • mto: This revision was merged to the branch mainline in revision 126.
  • Revision ID: gustav.hartvigsson@gmail.com-20160201204530-v0pgchjqz8yroixf
* Added merge-trunk command to ./build.sh

  The "exe" command does not seem to propagate the returncodes?

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
NAME:
 
1
NAME: --------------------------------------------------------------------------
2
2
The (Super) Simple Type System
3
3
 
4
 
Authors:
 
4
Authors: -----------------------------------------------------------------------
5
5
Gustav Hartvigsson (c) 2013-2015
6
6
 
7
 
ABOUT:
 
7
ABOUT: -------------------------------------------------------------------------
8
8
The software (The type-system) is an experiment. It was
9
9
written by Gustav Hartvigsson to see how to create a simple reference counting
10
10
type system that was super simple. (Redundancy is redundant).
17
17
 
18
18
If you need a real type system for C use GLib/GObject. It
19
19
is a much more mature and better designed type system
20
 
than mine. It also has a main-loop and threading support
21
 
out-of-the-box.
22
 
 
23
 
ALSO:
 
20
than mine.
 
21
 
 
22
HACKING: -----------------------------------------------------------------------
 
23
(We assume you are using a *Nix system or Cygwin/MinGW enviorment with the
 
24
correct tools.)
 
25
 
 
26
First make sure you have a place where you store your projects, say $HOME/devel/
 
27
or the likes and you are in that directory. And you need a launchpad account,
 
28
and set up your bazaar with your launchpad account.
 
29
 
 
30
Info on how to do this can be found here:
 
31
  http://doc.bazaar.canonical.com/plugins/en/launchpad-plugin.html
 
32
  https://help.launchpad.net/YourAccount/CreatingAnSSHKeyPair
 
33
 
 
34
When you start hacking it is importat to get a copy of the trunk, to do this run:
 
35
  $ bzr branch lp:simpletypesystem simpletypesystem_trunk
 
36
This will be your local trunk copy and should not be changed for the time being.
 
37
 
 
38
To update your trunk run:
 
39
  $ bzr pull
 
40
 
 
41
When you have your local trunk cd to it and run
 
42
  $ ./build.sh branch my-branch-name-here
 
43
this will create a branch of your _local_ trunk copy. When it is done cd into
 
44
that new branch:
 
45
  $ cd ../simpletypesystem_my-branch-name-here
 
46
 
 
47
Then we have to associate your branch with a branch on launchpad:
 
48
  $ bzr push --remember lp:~<lp-username>/simpletypesystem/my-branch-name-here
 
49
 
 
50
Then you can start hacking!
 
51
 
 
52
To commit your changes you can run:
 
53
  $ bzr commit
 
54
or
 
55
  $ ./build.sh commit
 
56
 
 
57
to push your changed run
 
58
  $ bzr push
 
59
 
 
60
to propose the changes for merge run
 
61
  $ bzr lp-propose-merge
 
62
 
 
63
ALSO: --------------------------------------------------------------------------
24
64
 
25
65
THIS SOFTWARE IS DISTRIBUTED AS IS, IT IS AN EXPERIMENT
26
66
AND SHOULD BE TREATED AS SUCH. ALL AND ANY CLAIMS --
28
68
 
29
69
THIS SOFTWARE IS DISTRIBUTED UNDER THE BSD LICENCE.
30
70
 
31
 
NOTE THAT INCLINATION (using #include or otherwise) OF
 
71
NOTE THAT INCLUDATIONS (using #include or otherwise) OF
32
72
THE HEADER FILES (files ending with .h) IS _NOT_
33
73
CONSIDERED AS DERIVATIVE, BUT CHANGES TO THE HEADER
34
74
FILES IS.